From 31cef1d61cf0a27e814f3527fc0721095841c4b5 Mon Sep 17 00:00:00 2001 From: Fedor Date: Fri, 16 Feb 2024 13:22:56 +0200 Subject: [PATCH] 68.13.9 - everything else --- .clang-format-ignore | 1 - .eslintrc.js | 17 - CLOBBER | 2 +- Cargo.lock | 521 +- Cargo.toml | 1 - accessible/android/DocAccessibleWrap.cpp | 6 +- accessible/aom/AccessibleNode.h | 2 +- accessible/base/AccEvent.cpp | 4 +- accessible/base/AccGroupInfo.h | 2 +- accessible/base/DocManager.cpp | 6 +- accessible/base/EventQueue.cpp | 4 +- accessible/base/Logging.cpp | 2 +- accessible/base/MarkupMap.h | 2 +- accessible/base/NotificationController.cpp | 2 +- accessible/base/NotificationController.h | 22 +- accessible/base/RoleMap.h | 2 +- accessible/base/StyleInfo.cpp | 29 +- accessible/base/nsAccUtils.cpp | 8 + accessible/base/nsAccessibilityService.cpp | 21 +- accessible/base/nsAccessibilityService.h | 28 + accessible/base/nsCoreUtils.cpp | 2 +- accessible/base/nsCoreUtils.h | 10 +- accessible/generic/Accessible.cpp | 15 +- accessible/generic/DocAccessible-inl.h | 4 +- accessible/generic/DocAccessible.cpp | 25 +- accessible/generic/DocAccessible.h | 5 +- accessible/generic/HyperTextAccessible.cpp | 58 +- accessible/generic/HyperTextAccessible.h | 19 +- accessible/generic/ImageAccessible.cpp | 29 +- accessible/html/HTMLFormControlAccessible.cpp | 10 +- accessible/html/HTMLFormControlAccessible.h | 6 +- accessible/html/HTMLListAccessible.cpp | 28 +- accessible/html/HTMLTableAccessible.cpp | 22 +- accessible/html/HTMLTableAccessible.h | 7 +- accessible/ipc/other/ProxyAccessible.h | 2 +- accessible/ipc/other/moz.build | 5 +- accessible/ipc/win/ProxyAccessible.h | 2 +- accessible/ipc/win/moz.build | 11 +- .../tests/mochitest/attributes/test_obj.html | 8 +- .../tests/mochitest/elm/test_HTMLSpec.html | 29 +- .../mochitest/events/test_valuechange.html | 4 + .../tests/mochitest/text/test_gettext.html | 4 +- .../tests/mochitest/text/test_hypertext.html | 2 +- .../mochitest/text/test_lineboundary.html | 8 +- .../mochitest/text/test_wordboundary.html | 4 +- .../mochitest/textselection/test_general.html | 6 + .../tests/mochitest/tree/test_divs.html | 6 +- .../tests/mochitest/tree/test_formctrl.html | 9 +- .../tests/mochitest/tree/test_list.html | 84 + accessible/windows/sdn/sdnTextAccessible.cpp | 2 +- accessible/xul/XULMenuAccessible.cpp | 2 +- accessible/xul/XULTreeAccessible.cpp | 2 +- accessible/xul/XULTreeGridAccessible.cpp | 2 +- browser/actors/ClickHandlerChild.jsm | 2 +- browser/actors/ContextMenuChild.jsm | 4 +- browser/app/profile/mypal.js | 25 - browser/base/content/browser-siteIdentity.js | 4 +- browser/base/content/browser.js | 8 +- browser/base/content/nsContextMenu.js | 5 +- browser/base/content/pageinfo/pageInfo.js | 9 +- browser/base/content/tabbrowser.js | 4 +- browser/base/content/test/caps/browser.ini | 2 + .../browser_principalSerialization_json.js | 164 + ...browser_principalSerialization_version1.js | 60 - .../test/general/browser_backButtonFitts.js | 35 +- ...tOpenNewRemoteTabsFromNonRemoteBrowsers.js | 8 + .../browser_pageinfo_firstPartyIsolation.js | 5 +- .../browser_startup_mainthreadio.js | 8 +- .../base/content/test/permissions/browser.ini | 1 - .../browser_permissions_event_telemetry.js | 176 - ...browser_pluginCrashReportNonDeterminism.js | 2 - .../test/static/browser_parsable_css.js | 26 +- .../browser_multiselect_tabs_mute_unmute.js | 3 +- browser/base/content/urlbarBindings.xml | 2 +- browser/components/BrowserGlue.jsm | 30 - .../customizableui/PanelMultiView.jsm | 4 +- .../browser_1003588_no_specials_in_panel.js | 6 +- ...browser_962069_drag_to_overflow_chevron.js | 6 +- .../docs/v2-system-addon/data_dictionary.md | 16 +- .../components/places/content/controller.js | 1 - .../preferences/in-content/moz.build | 4 +- browser/components/preferences/moz.build | 4 +- ...ivatebrowsing_localStorage_before_after.js | 28 +- .../sessionstore/test/browser_old_favicon.js | 6 +- .../components/sessionstore/test/content.js | 10 +- .../components/shell/nsMacShellService.cpp | 4 +- browser/components/urlbar/UrlbarInput.jsm | 16 +- .../urlbar/UrlbarProviderUnifiedComplete.jsm | 8 +- browser/components/urlbar/UrlbarResult.jsm | 5 +- ...rowser_switchToTabHavingURI_aOpenParams.js | 2 +- browser/config/version.txt | 2 +- browser/config/version_display.txt | 2 +- browser/modules/PermissionUI.jsm | 59 +- browser/modules/PermissionUITelemetry.jsm | 178 - browser/modules/Sanitizer.jsm | 8 +- browser/modules/moz.build | 4 - browser/modules/test/browser/head.js | 2 - .../themes/shared/urlbar-searchbar.inc.css | 1 + build/clang-plugin/CanRunScriptChecker.cpp | 105 +- build/clang-plugin/CustomAttributes.cpp | 59 +- build/clang-plugin/CustomAttributes.h | 16 +- .../DanglingOnTemporaryChecker.cpp | 58 +- build/clang-plugin/DiagnosticsMatcher.h | 2 +- .../MustReturnFromCallerChecker.cpp | 8 +- build/clang-plugin/ParamTraitsEnumChecker.cpp | 11 +- build/clang-plugin/ParamTraitsEnumChecker.h | 7 +- build/clang-plugin/ScopeChecker.cpp | 8 +- build/clang-plugin/TrivialDtorChecker.cpp | 3 +- build/clang-plugin/tests/TestCanRunScript.cpp | 56 + build/moz.configure/init.configure | 2 +- .../ubsan_signed_overflow_blacklist.txt | 2 +- .../ubsan_unsigned_overflow_blacklist.txt | 2 +- build/win32/orderfile.txt | 70 +- build/win64/orderfile.txt | 80 +- build/workspace-hack/Cargo.toml | 30 +- caps/BasePrincipal.cpp | 441 + caps/BasePrincipal.h | 44 +- caps/ContentPrincipal.cpp | 132 +- caps/ContentPrincipal.h | 12 + caps/ExpandedPrincipal.cpp | 97 +- caps/ExpandedPrincipal.h | 12 + caps/NullPrincipal.cpp | 79 +- caps/NullPrincipal.h | 13 + caps/NullPrincipalURI.cpp | 22 +- caps/NullPrincipalURI.h | 8 +- caps/SystemPrincipal.cpp | 9 +- caps/SystemPrincipal.h | 5 + caps/moz.build | 5 + caps/nsIPrincipal.idl | 97 +- caps/nsIScriptSecurityManager.idl | 13 + caps/nsScriptSecurityManager.cpp | 44 +- .../gtest/TestPrincipalSerialization.cpp | 216 + caps/tests/gtest/moz.build | 3 +- config/external/moz.build | 5 - config/external/sqlite/moz.build | 4 +- config/makefiles/rust.mk | 2 +- config/moz.build | 8 +- db/moz.build | 7 - .../test/browser_toolbox_zoom_popup.js | 4 +- .../client/inspector/changes/ChangesView.js | 7 +- devtools/client/inspector/inspector.js | 27 +- devtools/client/inspector/markup/markup.js | 18 +- devtools/client/inspector/toolsidebar.js | 125 +- devtools/client/themes/fonts.css | 4 - .../server/actors/animation-type-longhand.js | 4 + devtools/server/actors/animation.js | 10 +- devtools/server/actors/styles.js | 85 +- .../browser/browser_animation_playerState.js | 10 +- .../shared/css/generated/properties-db.js | 41 +- .../shared/css/generated/properties-db.js.in | 3 +- docshell/base/BrowsingContext.cpp | 17 +- docshell/base/BrowsingContext.h | 14 +- docshell/base/moz.build | 1 - docshell/base/nsDSURIContentListener.cpp | 18 - docshell/base/nsDefaultURIFixup.cpp | 24 - docshell/base/nsDocShell.cpp | 193 +- docshell/base/nsDocShell.h | 11 +- docshell/base/nsDocShellEnumerator.cpp | 2 +- docshell/base/nsDocShellTreeOwner.cpp | 2 +- docshell/base/nsIDocShell.idl | 12 +- docshell/base/nsIDocShellTreeItem.idl | 1 + docshell/base/nsIScrollable.idl | 52 - docshell/base/nsIURIFixup.idl | 12 - .../base/timeline/JavascriptTimelineMarker.h | 4 +- docshell/base/timeline/LayerTimelineMarker.h | 8 +- docshell/test/browser/browser.ini | 3 + .../browser_browsingContext-embedder.js | 52 +- docshell/test/browser/browser_overlink.js | 27 + docshell/test/browser/overlink_test.html | 7 + docshell/test/mochitest/file_bug668513.html | 3 +- docshell/test/mochitest/test_bug385434.html | 4 +- editor/composer/ComposerCommandsUpdater.cpp | 248 +- editor/composer/ComposerCommandsUpdater.h | 58 +- editor/composer/nsEditingSession.cpp | 103 +- editor/composer/nsEditingSession.h | 24 +- editor/composer/nsIEditingSession.idl | 23 +- editor/libeditor/CSSEditUtils.cpp | 655 +- editor/libeditor/CSSEditUtils.h | 223 +- .../libeditor/ChangeAttributeTransaction.cpp | 48 +- editor/libeditor/ChangeAttributeTransaction.h | 5 +- editor/libeditor/ChangeStyleTransaction.cpp | 139 +- editor/libeditor/ChangeStyleTransaction.h | 38 +- editor/libeditor/CompositionTransaction.cpp | 263 +- editor/libeditor/CompositionTransaction.h | 46 +- editor/libeditor/CreateElementTransaction.cpp | 131 +- editor/libeditor/CreateElementTransaction.h | 19 +- editor/libeditor/DeleteNodeTransaction.cpp | 91 +- editor/libeditor/DeleteNodeTransaction.h | 17 +- editor/libeditor/DeleteRangeTransaction.cpp | 100 +- editor/libeditor/DeleteRangeTransaction.h | 8 +- editor/libeditor/DeleteTextTransaction.cpp | 53 +- editor/libeditor/DeleteTextTransaction.h | 7 +- editor/libeditor/EditAction.h | 35 +- editor/libeditor/EditAggregateTransaction.cpp | 85 +- editor/libeditor/EditAggregateTransaction.h | 20 +- editor/libeditor/EditTransactionBase.cpp | 48 +- editor/libeditor/EditTransactionBase.h | 64 +- editor/libeditor/EditorBase.cpp | 4417 ++--- editor/libeditor/EditorBase.h | 1133 +- editor/libeditor/EditorCommands.cpp | 91 +- editor/libeditor/EditorCommands.h | 269 +- editor/libeditor/EditorDOMPoint.h | 193 +- editor/libeditor/EditorEventListener.cpp | 681 +- editor/libeditor/EditorEventListener.h | 40 +- editor/libeditor/EditorUtils.cpp | 38 +- editor/libeditor/EditorUtils.h | 141 +- editor/libeditor/HTMLAbsPositionEditor.cpp | 480 +- editor/libeditor/HTMLAnonymousNodeEditor.cpp | 223 +- editor/libeditor/HTMLEditSubActionHandler.cpp | 5761 +++--- editor/libeditor/HTMLEditUtils.cpp | 106 +- editor/libeditor/HTMLEditUtils.h | 260 +- editor/libeditor/HTMLEditor.cpp | 3995 +++-- editor/libeditor/HTMLEditor.h | 1640 +- editor/libeditor/HTMLEditorCommands.cpp | 348 +- editor/libeditor/HTMLEditorDataTransfer.cpp | 2167 ++- .../libeditor/HTMLEditorDocumentCommands.cpp | 91 +- editor/libeditor/HTMLEditorEventListener.cpp | 192 +- editor/libeditor/HTMLEditorEventListener.h | 33 +- editor/libeditor/HTMLEditorObjectResizer.cpp | 558 +- editor/libeditor/HTMLInlineTableEditor.cpp | 220 +- editor/libeditor/HTMLStyleEditor.cpp | 1556 +- editor/libeditor/HTMLTableEditor.cpp | 1775 +- editor/libeditor/InsertNodeTransaction.cpp | 72 +- editor/libeditor/InsertNodeTransaction.h | 3 +- editor/libeditor/InsertTextTransaction.cpp | 91 +- editor/libeditor/InsertTextTransaction.h | 32 +- editor/libeditor/JoinNodeTransaction.cpp | 134 +- editor/libeditor/JoinNodeTransaction.h | 31 +- editor/libeditor/ManualNAC.h | 13 +- editor/libeditor/PlaceholderTransaction.cpp | 238 +- editor/libeditor/PlaceholderTransaction.h | 47 +- editor/libeditor/SelectionState.cpp | 619 +- editor/libeditor/SelectionState.h | 187 +- editor/libeditor/SplitNodeTransaction.cpp | 204 +- editor/libeditor/SplitNodeTransaction.h | 43 +- editor/libeditor/TextEditSubActionHandler.cpp | 277 +- editor/libeditor/TextEditor.cpp | 1481 +- editor/libeditor/TextEditor.h | 241 +- editor/libeditor/TextEditorDataTransfer.cpp | 472 +- editor/libeditor/TypeInState.cpp | 38 +- editor/libeditor/TypeInState.h | 64 +- editor/libeditor/WSRunObject.cpp | 1662 +- editor/libeditor/WSRunObject.h | 730 +- editor/libeditor/crashtests/1618906.html | 17 + editor/libeditor/crashtests/1623913.html | 30 + editor/libeditor/crashtests/1624007.html | 19 + editor/libeditor/crashtests/1624011.html | 12 + editor/libeditor/crashtests/745494.html | 17 + editor/libeditor/crashtests/848644.html | 2 + editor/libeditor/crashtests/crashtests.list | 12 +- editor/libeditor/nsIAbsorbingTransaction.h | 55 - editor/libeditor/tests/mochitest.ini | 47 +- .../tests/test_CF_HTML_clipboard.html | 2 +- ...t_abs_positioner_positioning_elements.html | 71 +- editor/libeditor/tests/test_bug1094000.html | 4 +- editor/libeditor/tests/test_bug1330796.html | 2 +- editor/libeditor/tests/test_bug1619852.html | 34 + editor/libeditor/tests/test_bug1659276.html | 78 + editor/libeditor/tests/test_bug430392.html | 5 + editor/libeditor/tests/test_bug502673.html | 5 - editor/libeditor/tests/test_bug520189.html | 51 +- editor/libeditor/tests/test_bug596333.html | 25 +- editor/libeditor/tests/test_bug599983.xul | 5 +- editor/libeditor/tests/test_bug603556.html | 9 +- editor/libeditor/tests/test_bug830600.html | 3 +- .../tests/test_css_chrome_load_access.html | 58 - .../test_dom_input_event_on_htmleditor.html | 1411 +- .../test_dom_input_event_on_texteditor.html | 781 +- editor/libeditor/tests/test_dragdrop.html | 2826 ++- .../tests/test_handle_new_lines.html | 12 +- .../test_htmleditor_keyevent_handling.html | 26 +- .../tests/test_label_contenteditable.html | 18 + .../tests/test_middle_click_paste.html | 256 +- ...torMailSupport_insertAsCitedQuotation.html | 118 +- .../tests/test_nsIEditor_insertLineBreak.html | 420 + ...TMLEditor_getElementOrParentByTagName.html | 449 + .../test_nsIHTMLEditor_getParagraphState.html | 156 + ...st_nsIHTMLEditor_removeInlineProperty.html | 175 +- ...st_nsIPlaintextEditor_insertLineBreak.html | 385 - .../test_nsITableEditor_deleteTableCell.html | 165 +- ...sITableEditor_deleteTableCellContents.html | 94 +- ...test_nsITableEditor_deleteTableColumn.html | 145 +- .../test_nsITableEditor_deleteTableRow.html | 145 +- .../test_nsITableEditor_insertTableCell.html | 146 +- ...test_nsITableEditor_insertTableColumn.html | 90 +- .../test_nsITableEditor_insertTableRow.html | 90 +- ...st_pasting_text_longer_than_maxlength.html | 53 + .../test_resizers_resizing_elements.html | 45 +- ...nger_than_maxlength_with_setUserInput.html | 75 + .../test_textarea_value_not_include_cr.html | 4 +- .../test_texteditor_keyevent_handling.html | 6 +- .../tests/test_typing_at_edge_of_anchor.html | 234 + ...undo_after_spellchecker_replaces_word.html | 84 +- ...t_undo_redo_stack_after_setting_value.html | 57 +- editor/moz.build | 2 - editor/nsIDocumentStateListener.idl | 21 +- editor/nsIEditor.idl | 155 +- editor/nsIEditorSpellCheck.idl | 2 +- editor/nsIEditorStyleSheets.idl | 46 - editor/nsIHTMLEditor.idl | 62 +- editor/nsIPlaintextEditor.idl | 99 - editor/nsITableEditor.idl | 18 +- editor/reftests/672709-ref.html | 4 +- editor/reftests/694880-1.html | 4 +- editor/reftests/694880-2.html | 4 +- editor/reftests/694880-3.html | 4 +- editor/reftests/readonly-editable.html | 2 +- editor/reftests/readonly-non-editable.html | 2 +- editor/reftests/readwrite-editable.html | 2 +- editor/reftests/readwrite-non-editable.html | 2 +- editor/reftests/reftest.list | 6 +- .../selection_visibility_after_reframe-2.html | 1 + .../selection_visibility_after_reframe-3.html | 1 + editor/spellchecker/EditorSpellCheck.cpp | 61 +- .../spellchecker/FilteredContentIterator.cpp | 2 +- editor/spellchecker/TextServicesDocument.cpp | 45 +- editor/spellchecker/nsComposeTxtSrvFilter.h | 2 + editor/spellchecker/tests/test_bug338427.html | 7 +- editor/txmgr/TransactionItem.cpp | 255 +- editor/txmgr/TransactionItem.h | 33 +- editor/txmgr/TransactionManager.cpp | 363 +- editor/txmgr/TransactionManager.h | 47 +- editor/txmgr/TransactionStack.cpp | 18 +- editor/txmgr/TransactionStack.h | 5 +- editor/txmgr/nsITransaction.idl | 20 + editor/txmgr/nsITransactionManager.idl | 4 + editor/txmgr/tests/TestTXMgr.cpp | 28 +- .../permissions/nsPermissionManager.cpp | 27 +- .../test_permmanager_load_invalid_entries.js | 4 +- .../unit/test_permmanager_migrate_10-11.js | 193 + extensions/permissions/test/unit/xpcshell.ini | 1 + .../spellcheck/src/mozInlineSpellChecker.cpp | 27 +- .../spellcheck/src/mozInlineSpellChecker.h | 13 +- .../spellcheck/src/mozInlineSpellWordUtil.cpp | 24 +- extensions/spellcheck/src/mozSpellChecker.cpp | 2 +- .../chrome/test_add_remove_dictionaries.xul | 4 +- gfx/2d/BaseMargin.h | 3 +- gfx/2d/Blur.cpp | 2 +- gfx/2d/DrawCommands.h | 4 +- gfx/2d/DrawEventRecorder.h | 2 +- gfx/2d/DrawTargetOffset.cpp | 2 +- gfx/2d/DrawTargetTiled.cpp | 2 +- gfx/2d/DrawingJob.cpp | 2 +- gfx/2d/Filters.h | 2 +- gfx/2d/GenericRefCounted.h | 2 +- gfx/2d/InlineTranslator.h | 16 +- gfx/2d/JobScheduler.cpp | 2 +- gfx/2d/Logging.h | 6 +- gfx/2d/Path.cpp | 6 +- gfx/2d/PathHelpers.h | 7 +- gfx/2d/RecordedEventImpl.h | 6 +- gfx/2d/SFNTData.h | 2 +- gfx/2d/unittest/TestBase.h | 2 +- gfx/angle/checkout/src/common/angleutils.h | 6 +- gfx/angle/checkout/src/common/platform.h | 6 +- .../renderer/d3d/d3d11/Renderer11.cpp | 4 +- .../converged/CompositorNativeWindow11.h | 2 +- .../src/libANGLE/renderer/d3d/d3d9/Blit9.cpp | 44 +- .../src/libANGLE/renderer/d3d/d3d9/Blit9.h | 2 +- .../src/libANGLE/renderer/d3d/d3d9/Image9.cpp | 6 +- .../renderer/d3d/d3d9/TextureStorage9.cpp | 28 +- gfx/config/gfxVars.cpp | 2 +- gfx/gl/GLContext.h | 7 +- gfx/gl/GLContextEGL.h | 1 + gfx/gl/GLContextProviderEGL.cpp | 1 - gfx/gl/GLLibraryEGL.h | 2 +- gfx/gl/GLTextureImage.cpp | 2 +- gfx/gl/GfxTexturesReporter.h | 2 +- gfx/ipc/CrossProcessPaint.cpp | 4 +- gfx/ipc/GPUParent.cpp | 4 +- gfx/ipc/GPUParent.h | 2 +- gfx/ipc/GPUProcessHost.cpp | 4 +- gfx/ipc/GPUProcessImpl.cpp | 2 +- gfx/ipc/GfxMessageUtils.h | 11 + gfx/ipc/VsyncBridgeChild.cpp | 2 +- gfx/layers/AnimationHelper.cpp | 45 +- gfx/layers/AnimationHelper.h | 16 +- gfx/layers/AnimationInfo.cpp | 672 +- gfx/layers/AnimationInfo.h | 50 +- gfx/layers/AxisPhysicsMSDModel.cpp | 2 +- gfx/layers/AxisPhysicsModel.cpp | 2 +- gfx/layers/ImageContainer.cpp | 2 +- gfx/layers/ImageContainer.h | 13 +- gfx/layers/ImageLayers.cpp | 2 +- gfx/layers/ImageLayers.h | 3 +- gfx/layers/LayerAttributes.h | 21 +- gfx/layers/LayerMetricsWrapper.h | 7 + gfx/layers/LayerScope.cpp | 2 +- gfx/layers/LayerTreeInvalidation.cpp | 2 +- gfx/layers/Layers.cpp | 4 +- gfx/layers/Layers.h | 11 +- gfx/layers/LayersTypes.h | 5 +- gfx/layers/PaintThread.h | 4 +- gfx/layers/ReadbackLayer.h | 9 +- gfx/layers/ScrollableLayerGuid.h | 7 +- gfx/layers/SyncObject.h | 4 +- gfx/layers/TextureDIB.cpp | 2 +- gfx/layers/TextureWrapperImage.cpp | 2 +- gfx/layers/TiledLayerBuffer.h | 2 +- gfx/layers/ZoomConstraints.h | 2 +- .../apz/public/GeckoContentController.h | 2 +- gfx/layers/apz/public/MatrixMessage.h | 2 +- gfx/layers/apz/src/APZCTreeManager.cpp | 93 +- gfx/layers/apz/src/APZCTreeManager.h | 33 +- gfx/layers/apz/src/AsyncPanZoomController.cpp | 27 +- gfx/layers/apz/src/AsyncPanZoomController.h | 6 +- gfx/layers/apz/src/HitTestingTreeNode.cpp | 17 +- gfx/layers/apz/src/HitTestingTreeNode.h | 14 +- gfx/layers/apz/src/KeyboardScrollAction.cpp | 12 +- gfx/layers/apz/src/KeyboardScrollAction.h | 5 +- gfx/layers/apz/test/gtest/TestBasic.cpp | 5 - .../helper_hittest_hoisted_scrollinfo.html | 84 + .../test/mochitest/helper_override_root.html | 2 +- .../mochitest/helper_tap_default_passive.html | 12 +- gfx/layers/apz/test/mochitest/mochitest.ini | 2 + .../test/mochitest/test_group_hittest.html | 1 + .../apz/test/mochitest/test_group_zoom-2.html | 58 + .../apz/test/mochitest/test_group_zoom.html | 1 - gfx/layers/apz/testutil/APZTestData.cpp | 15 +- gfx/layers/apz/util/APZCCallbackHelper.cpp | 10 +- gfx/layers/apz/util/APZEventState.cpp | 13 +- .../apz/util/CheckerboardReportService.h | 2 +- .../apz/util/ChromeProcessController.cpp | 2 +- gfx/layers/apz/util/DoubleTapToZoom.cpp | 9 +- gfx/layers/basic/AutoMaskData.h | 4 +- gfx/layers/basic/BasicColorLayer.cpp | 2 +- gfx/layers/basic/BasicImageLayer.cpp | 2 +- gfx/layers/basic/BasicImages.cpp | 2 +- gfx/layers/basic/BasicImplData.h | 2 +- gfx/layers/basic/BasicLayersImpl.h | 2 +- gfx/layers/basic/BasicPaintedLayer.h | 2 +- gfx/layers/basic/X11BasicCompositor.h | 2 +- gfx/layers/client/ClientColorLayer.cpp | 2 +- gfx/layers/client/ClientLayerManager.h | 2 +- .../client/TextureClientSharedSurface.cpp | 2 +- .../composite/AsyncCompositionManager.cpp | 25 +- .../composite/CompositorScreenshotGrabber.cpp | 4 +- gfx/layers/composite/ContentHost.cpp | 2 +- gfx/layers/composite/FPSCounter.cpp | 2 +- gfx/layers/composite/FrameUniformityData.h | 4 +- gfx/layers/composite/ImageComposite.cpp | 2 +- gfx/layers/composite/ImageHost.cpp | 2 +- gfx/layers/composite/TextRenderer.cpp | 2 +- gfx/layers/composite/TextureHost.cpp | 4 +- gfx/layers/composite/TextureHost.h | 2 +- gfx/layers/composite/TiledContentHost.h | 2 +- gfx/layers/d3d11/ReadbackManagerD3D11.cpp | 14 +- gfx/layers/d3d11/ReadbackManagerD3D11.h | 4 +- gfx/layers/ipc/APZCTreeManagerChild.cpp | 2 +- gfx/layers/ipc/APZInputBridgeChild.cpp | 2 +- gfx/layers/ipc/APZInputBridgeParent.cpp | 2 +- .../ipc/CompositableTransactionParent.h | 2 +- gfx/layers/ipc/CompositorBridgeParent.cpp | 2 +- gfx/layers/ipc/CompositorManagerParent.cpp | 2 +- gfx/layers/ipc/ImageBridgeParent.cpp | 2 +- gfx/layers/ipc/LayerTransactionParent.cpp | 8 +- gfx/layers/ipc/LayersMessageUtils.h | 102 +- gfx/layers/ipc/LayersMessages.ipdlh | 23 +- gfx/layers/ipc/RemoteContentController.cpp | 2 +- gfx/layers/ipc/ShadowLayerUtilsX11.h | 2 +- gfx/layers/ipc/ShadowLayers.cpp | 4 +- gfx/layers/ipc/ShadowLayers.h | 2 +- gfx/layers/ipc/SharedSurfacesChild.cpp | 2 +- gfx/layers/ipc/SharedSurfacesChild.h | 5 +- gfx/layers/ipc/SharedSurfacesParent.cpp | 6 +- .../ipc/UiCompositorControllerChild.cpp | 2 +- gfx/layers/mlgpu/BufferCache.cpp | 2 +- gfx/layers/mlgpu/BufferCache.h | 9 +- gfx/layers/mlgpu/FrameBuilder.cpp | 4 +- gfx/layers/mlgpu/LayerMLGPU.cpp | 4 +- gfx/layers/mlgpu/MLGDevice.cpp | 2 +- gfx/layers/mlgpu/MLGPUScreenshotGrabber.cpp | 2 +- gfx/layers/mlgpu/MaskOperation.cpp | 4 +- gfx/layers/mlgpu/MemoryReportingMLGPU.cpp | 2 +- gfx/layers/mlgpu/RenderPassMLGPU.cpp | 2 +- gfx/layers/mlgpu/SharedBufferMLGPU.h | 2 +- .../mlgpu/TextureSourceProviderMLGPU.cpp | 2 +- gfx/layers/mlgpu/TexturedLayerMLGPU.cpp | 2 +- gfx/layers/opengl/TextureHostOGL.cpp | 4 +- gfx/layers/wr/ClipManager.cpp | 12 +- gfx/layers/wr/StackingContextHelper.cpp | 32 +- gfx/layers/wr/StackingContextHelper.h | 1 - gfx/layers/wr/WebRenderCommandBuilder.cpp | 78 +- gfx/layers/wr/WebRenderCommandBuilder.h | 2 +- gfx/layers/wr/WebRenderScrollData.cpp | 1 + gfx/layers/wr/WebRenderScrollData.h | 41 +- gfx/layers/wr/WebRenderScrollDataWrapper.h | 14 +- gfx/layers/wr/WebRenderUserData.cpp | 4 +- gfx/qcms/chain.h | 8 + gfx/qcms/iccread.c | 18 +- gfx/qcms/matrix.h | 8 + gfx/qcms/moz.build | 14 +- gfx/qcms/qcms.h | 8 +- gfx/qcms/qcmsint.h | 95 +- gfx/qcms/qcmstypes.h | 14 +- ...nsform-altivec.c => transform-altivec.cpp} | 190 +- gfx/qcms/transform-sse1.c | 253 - gfx/qcms/transform-sse1.cpp | 168 + gfx/qcms/transform-sse2.c | 243 - gfx/qcms/transform-sse2.cpp | 162 + gfx/qcms/{transform.c => transform.cpp} | 577 +- gfx/qcms/transform_util.c | 2 +- gfx/qcms/transform_util.h | 11 +- gfx/src/CompositorHitTestInfo.h | 5 + gfx/src/FilterSupport.cpp | 50 +- gfx/src/FilterSupport.h | 30 +- gfx/src/RegionBuilder.h | 2 +- gfx/src/gfxCrashReporterUtils.cpp | 2 +- gfx/src/nsDeviceContext.cpp | 2 +- gfx/src/nsFont.cpp | 2 +- gfx/src/nsITheme.h | 13 +- gfx/src/nsMargin.h | 4 +- gfx/src/nsPoint.h | 4 +- gfx/src/nsRegion.h | 22 +- gfx/src/nsThebesFontEnumerator.h | 2 +- gfx/src/nsTransform2D.h | 2 +- gfx/tests/gtest/MockWidget.h | 2 +- gfx/tests/gtest/TestQcms.cpp | 1 + gfx/tests/gtest/TestTreeTraversal.cpp | 8 +- gfx/thebes/PrintTargetCG.mm | 16 + gfx/thebes/SkMemoryReporter.h | 30 +- gfx/thebes/SoftwareVsyncSource.cpp | 2 +- gfx/thebes/VsyncSource.h | 2 +- gfx/thebes/gfxBlur.cpp | 2 +- gfx/thebes/gfxContext.cpp | 6 +- gfx/thebes/gfxDWriteFontList.cpp | 6 +- gfx/thebes/gfxEnv.h | 5 +- gfx/thebes/gfxFT2FontList.cpp | 4 +- gfx/thebes/gfxFcPlatformFontList.cpp | 2 +- gfx/thebes/gfxFont.cpp | 9 +- gfx/thebes/gfxFont.h | 12 +- gfx/thebes/gfxFontEntry.h | 11 +- gfx/thebes/gfxFontFamilyList.h | 16 +- gfx/thebes/gfxFontFeatures.h | 7 +- gfx/thebes/gfxFontInfoLoader.h | 2 +- gfx/thebes/gfxFontUtils.h | 4 +- gfx/thebes/gfxGDIFontList.cpp | 6 +- gfx/thebes/gfxMacPlatformFontList.mm | 36 +- gfx/thebes/gfxPattern.h | 2 +- gfx/thebes/gfxPlatform.cpp | 21 + gfx/thebes/gfxPlatform.h | 5 + gfx/thebes/gfxPlatformFontList.cpp | 14 +- gfx/thebes/gfxPlatformFontList.h | 10 +- gfx/thebes/gfxSkipChars.h | 10 +- gfx/thebes/gfxTextRun.cpp | 4 +- gfx/thebes/gfxTypes.h | 11 +- gfx/thebes/gfxUserFontSet.cpp | 2 +- gfx/thebes/gfxUserFontSet.h | 6 +- gfx/thebes/gfxWindowsPlatform.cpp | 7 +- gfx/vr/ipc/VRManagerChild.cpp | 19 +- gfx/vr/ipc/VRParent.cpp | 6 +- gfx/vr/ipc/VRParent.h | 2 +- gfx/vr/ipc/VRProcessChild.cpp | 4 +- gfx/vr/ipc/VRProcessManager.h | 2 +- gfx/vr/ipc/VRProcessParent.cpp | 2 +- gfx/webrender_bindings/Cargo.toml | 2 +- gfx/webrender_bindings/RenderCompositor.cpp | 2 +- gfx/webrender_bindings/WebRenderAPI.cpp | 95 +- gfx/webrender_bindings/WebRenderAPI.h | 17 +- gfx/webrender_bindings/WebRenderTypes.cpp | 46 + gfx/webrender_bindings/WebRenderTypes.h | 52 +- gfx/wr/webrender/Cargo.toml | 2 +- gfx/wr/webrender/src/device/gl.rs | 2 +- gfx/wr/webrender/src/spatial_node.rs | 4 - gfx/wr/webrender/src/texture_cache.rs | 2 +- image/ClippedImage.cpp | 3 +- image/Decoder.cpp | 12 +- image/Decoder.h | 7 + image/DynamicImage.cpp | 8 + image/FrameAnimator.cpp | 4 +- image/FrameAnimator.h | 2 +- image/Image.h | 11 +- image/ImageMemoryReporter.h | 2 +- image/ImageWrapper.cpp | 8 + image/ImgDrawResult.h | 4 +- image/ProgressTracker.h | 2 +- image/RasterImage.cpp | 66 +- image/RasterImage.h | 6 +- image/ScriptedNotificationObserver.cpp | 30 +- image/SurfaceCache.cpp | 15 +- image/SurfaceFilters.h | 93 +- image/SurfacePipe.cpp | 6 +- image/SurfacePipeFactory.h | 167 +- image/VectorImage.cpp | 42 +- image/VectorImage.h | 3 + image/decoders/icon/android/nsIconChannel.cpp | 12 +- image/decoders/icon/gtk/nsIconChannel.cpp | 21 +- image/decoders/nsGIFDecoder2.cpp | 10 +- image/decoders/nsGIFDecoder2.h | 3 + image/decoders/nsIconDecoder.cpp | 2 +- image/decoders/nsJPEGDecoder.cpp | 480 +- image/decoders/nsJPEGDecoder.h | 11 +- image/decoders/nsPNGDecoder.cpp | 12 +- image/decoders/nsPNGDecoder.h | 3 - image/decoders/nsWebPDecoder.cpp | 28 +- image/decoders/nsWebPDecoder.h | 6 - image/encoders/bmp/nsBMPEncoder.cpp | 10 +- image/encoders/ico/nsICOEncoder.cpp | 8 +- image/imgFrame.cpp | 2 +- image/imgFrame.h | 16 +- image/imgIContainer.idl | 21 +- image/imgILoader.idl | 2 +- image/imgINotificationObserver.idl | 5 +- image/imgLoader.cpp | 8 +- image/imgRequestProxy.h | 2 +- image/imgTools.cpp | 16 +- image/test/browser/browser_bug666317.js | 13 +- .../browser/browser_docshell_type_editor.js | 4 +- image/test/browser/browser_image.js | 3 +- image/test/mochitest/animationPolling.js | 55 +- image/test/mochitest/imgutils.js | 20 +- image/test/mochitest/mochitest.ini | 5 + image/test/mochitest/mq_dynamic_svg_ref.html | 38 + image/test/mochitest/mq_dynamic_svg_test.html | 61 + image/test/mochitest/test_animSVGImage.html | 3 +- image/test/mochitest/test_animSVGImage2.html | 2 +- .../mochitest/test_animated_css_image.html | 165 + .../mochitest/test_animation_operators.html | 4 +- image/test/mochitest/test_bug399925.html | 2 +- image/test/mochitest/test_bug415761.html | 6 +- image/test/mochitest/test_bug435296.html | 8 +- image/test/mochitest/test_bug478398.html | 4 +- image/test/mochitest/test_bug490949.html | 2 +- image/test/mochitest/test_bug496292.html | 2 +- image/test/mochitest/test_bug552605-1.html | 4 +- image/test/mochitest/test_bug552605-2.html | 4 +- image/test/mochitest/test_bug89419-2.html | 2 + .../test_canvas_frame_animation.html | 24 + .../mochitest/test_discardAnimatedImage.html | 4 +- .../test_discardFramesAnimatedImage.html | 10 +- .../test/mochitest/test_has_transparency.html | 2 +- .../test_image_crossorigin_data_url.html | 1 + image/test/mochitest/test_mq_dynamic_svg.html | 36 + .../mochitest/test_net_failedtoprocess.html | 1 + .../test/mochitest/test_removal_ondecode.html | 2 +- image/test/mochitest/test_removal_onload.html | 2 +- image/test/mochitest/test_staticClone.html | 2 +- image/test/reftest/downscaling/reftest.list | 2 +- image/test/unit/async_load_tests.js | 2 + image/test/unit/test_async_notification.js | 6 +- .../test/unit/test_async_notification_404.js | 7 +- .../unit/test_async_notification_animated.js | 6 +- image/test/unit/test_imgtools.js | 71 +- image/test/unit/test_moz_icon_uri.js | 6 +- image/test/unit/test_private_channel.js | 9 +- intl/Encoding.h | 4 +- .../hyphenation/glue/nsHyphenationManager.cpp | 4 +- intl/locale/MozLocale.h | 2 +- intl/locale/nsCollationFactory.h | 4 +- intl/lwbrk/LineBreaker.cpp | 6 +- intl/lwbrk/LineBreaker.h | 2 +- intl/lwbrk/WordBreaker.h | 2 +- intl/lwbrk/nsPangoBreaker.cpp | 4 +- intl/lwbrk/nsUniscribeBreaker.cpp | 10 +- intl/strres/nsStringBundle.cpp | 6 +- intl/uconv/nsConverterOutputStream.h | 2 +- intl/uconv/nsITextToSubURI.idl | 7 +- intl/uconv/nsScriptableUConv.cpp | 2 +- intl/uconv/nsTextToSubURI.cpp | 7 +- intl/unicharutil/util/ICUUtils.cpp | 2 +- intl/unicharutil/util/ICUUtils.h | 2 +- intl/unicharutil/util/nsUnicharUtils.h | 2 +- ipc/chromium/src/base/message_loop.h | 1 - ipc/chromium/src/base/revocable_store.h | 1 - ipc/chromium/src/base/task.h | 10 +- ipc/chromium/src/base/waitable_event.h | 1 - .../src/chrome/common/child_process_host.h | 2 +- ipc/chromium/src/chrome/common/child_thread.h | 2 +- .../src/chrome/common/ipc_channel_posix.h | 2 - ipc/chromium/src/chrome/common/ipc_message.h | 5 +- .../src/chrome/common/ipc_message_utils.h | 3 +- ipc/glue/BackgroundChildImpl.cpp | 1 + ipc/glue/BackgroundChildImpl.h | 10 +- ipc/glue/BackgroundImpl.cpp | 39 +- ipc/glue/BackgroundParentImpl.cpp | 14 +- ipc/glue/BackgroundParentImpl.h | 2 + ipc/glue/BackgroundUtils.cpp | 23 +- ipc/glue/GeckoChildProcessHost.h | 1 + ipc/glue/IOThreadChild.h | 5 +- ipc/glue/IPCMessageUtils.h | 10 +- ipc/glue/IPCStreamChild.cpp | 2 +- ipc/glue/IPCStreamDestination.cpp | 2 +- ipc/glue/IPCStreamParent.cpp | 2 +- ipc/glue/IPDLParamTraits.h | 8 +- ipc/glue/MessageChannel.cpp | 34 +- ipc/glue/MessageChannel.h | 6 +- ipc/glue/MessageLink.cpp | 20 +- ipc/glue/MessageLink.h | 5 +- ipc/glue/MessagePump.cpp | 4 +- ipc/glue/MessagePump.h | 4 +- ipc/glue/PBackground.ipdl | 3 +- ipc/glue/ProtocolUtils.cpp | 20 +- ipc/glue/ProtocolUtils.h | 22 +- ipc/glue/SharedMemory.cpp | 2 +- ipc/glue/SharedMemoryBasic_chromium.h | 4 +- ipc/glue/Shmem.h | 14 +- ipc/glue/WindowsMessageLoop.cpp | 47 +- ipc/glue/WindowsMessageLoop.h | 4 +- ipc/ipdl/ipdl/direct_call.py | 46 +- ipc/ipdl/ipdl/lower.py | 9 +- .../test/cxx/IPDLUnitTestProcessChild.cpp | 2 +- ipc/ipdl/test/cxx/TestSelfManageRoot.h | 12 +- ipc/ipdl/test/cxx/TestUniquePtrIPC.h | 8 +- ipc/mscom/Interceptor.cpp | 2 +- ipc/testshell/TestShellChild.h | 5 +- ipc/testshell/TestShellParent.h | 4 +- js/public/StructuredClone.h | 2 +- js/rust/Cargo.toml | 2 +- js/rust/build.rs | 1 + js/src/builtin/TypedObject.js | 1 + .../rootAnalysis/analyzeHeapWrites.js | 3 - js/src/frontend/EmitterScope.cpp | 1 - js/src/jit/CodeGenerator.cpp | 8 +- js/src/vm/OffThreadPromiseRuntimeState.cpp | 2 +- js/src/vm/StructuredClone.cpp | 8 +- js/src/vm/TypedArrayObject-inl.h | 6 +- js/src/wasm/WasmCraneliftCompile.cpp | 4 +- js/src/wasm/cranelift/Cargo.toml | 2 +- js/src/wasm/cranelift/build.rs | 1 + js/xpconnect/loader/ScriptCacheActors.h | 2 +- js/xpconnect/src/ExportHelpers.cpp | 6 +- js/xpconnect/src/Sandbox.cpp | 4 +- js/xpconnect/src/XPCComponents.cpp | 4 +- js/xpconnect/src/XPCConvert.cpp | 2 +- js/xpconnect/src/XPCWrappedNative.cpp | 8 +- js/xpconnect/src/nsXPConnect.cpp | 6 +- js/xpconnect/src/xpcprivate.h | 4 +- .../tests/mochitest/test_bug505915.html | 6 +- js/xpconnect/tests/unit/test_crypto.js | 3 +- js/xpconnect/wrappers/XrayWrapper.cpp | 14 +- js/xpconnect/wrappers/XrayWrapper.h | 2 +- media/audioipc/audioipc/Cargo.toml | 2 +- media/audioipc/client/Cargo.toml | 2 +- media/audioipc/server/Cargo.toml | 2 +- media/mp4parse-rust/mp4parse-cargo.patch | 21 +- media/mp4parse-rust/mp4parse/Cargo.toml | 11 +- media/mp4parse-rust/mp4parse/src/boxes.rs | 16 +- media/mp4parse-rust/mp4parse/src/lib.rs | 1384 +- media/mp4parse-rust/mp4parse/src/macros.rs | 2 +- media/mp4parse-rust/mp4parse/src/tests.rs | 799 +- media/mp4parse-rust/mp4parse/tests/afl.rs | 53 - media/mp4parse-rust/mp4parse/tests/public.rs | 314 +- media/mp4parse-rust/mp4parse_capi/Cargo.toml | 5 +- media/mp4parse-rust/mp4parse_capi/build.rs | 39 - media/mp4parse-rust/mp4parse_capi/src/lib.rs | 1074 +- .../mp4parse_fallible/Cargo.toml | 10 - media/mp4parse-rust/mp4parse_fallible/README | 7 - media/mp4parse-rust/mp4parse_fallible/lib.rs | 92 - media/mp4parse-rust/update-rust.sh | 10 +- .../mtransport/WebrtcProxyChannelWrapper.cpp | 122 - media/mtransport/WebrtcTCPSocketWrapper.cpp | 124 + ...nnelWrapper.h => WebrtcTCPSocketWrapper.h} | 36 +- media/mtransport/build/moz.build | 2 +- media/mtransport/common.build | 4 +- media/mtransport/ipc/PProxyConfigLookup.ipdl | 20 - media/mtransport/ipc/PStunAddrsParams.h | 3 + media/mtransport/ipc/PStunAddrsRequest.ipdl | 3 + ...roxyChannel.ipdl => PWebrtcTCPSocket.ipdl} | 13 +- media/mtransport/ipc/ProxyConfigLookup.cpp | 77 - media/mtransport/ipc/ProxyConfigLookup.h | 31 - .../mtransport/ipc/ProxyConfigLookupChild.cpp | 23 - media/mtransport/ipc/ProxyConfigLookupChild.h | 30 - .../ipc/ProxyConfigLookupParent.cpp | 30 - .../mtransport/ipc/ProxyConfigLookupParent.h | 29 - .../mtransport/ipc/StunAddrsRequestChild.cpp | 8 + media/mtransport/ipc/StunAddrsRequestChild.h | 5 + .../mtransport/ipc/StunAddrsRequestParent.cpp | 96 +- media/mtransport/ipc/StunAddrsRequestParent.h | 11 +- media/mtransport/ipc/WebrtcProxyChannel.cpp | 510 - .../ipc/WebrtcProxyChannelChild.cpp | 92 - .../mtransport/ipc/WebrtcProxyChannelChild.h | 45 - .../ipc/WebrtcProxyChannelParent.cpp | 114 - .../mtransport/ipc/WebrtcProxyChannelParent.h | 58 - media/mtransport/ipc/WebrtcProxyConfig.ipdlh | 19 + media/mtransport/ipc/WebrtcTCPSocket.cpp | 735 + ...WebrtcProxyChannel.h => WebrtcTCPSocket.h} | 51 +- ...elCallback.h => WebrtcTCPSocketCallback.h} | 12 +- media/mtransport/ipc/WebrtcTCPSocketChild.cpp | 98 + media/mtransport/ipc/WebrtcTCPSocketChild.h | 47 + ...rtcProxyLog.cpp => WebrtcTCPSocketLog.cpp} | 4 +- ...{WebrtcProxyLog.h => WebrtcTCPSocketLog.h} | 10 +- .../mtransport/ipc/WebrtcTCPSocketParent.cpp | 118 + media/mtransport/ipc/WebrtcTCPSocketParent.h | 58 + media/mtransport/ipc/moz.build | 26 +- media/mtransport/mdns_service/Cargo.toml | 2 +- media/mtransport/mdns_service/mdns_service.h | 5 + media/mtransport/mdns_service/src/lib.rs | 596 +- media/mtransport/nr_socket_proxy_config.cpp | 23 +- media/mtransport/nr_socket_proxy_config.h | 16 +- media/mtransport/nr_socket_prsock.cpp | 491 +- media/mtransport/nr_socket_prsock.h | 100 +- ...{nr_socket_proxy.cpp => nr_socket_tcp.cpp} | 125 +- .../{nr_socket_proxy.h => nr_socket_tcp.h} | 32 +- media/mtransport/nr_timer.cpp | 3 +- media/mtransport/nricectx.cpp | 29 +- media/mtransport/nricectx.h | 10 +- media/mtransport/runnable_utils.h | 156 +- media/mtransport/test/dummysocket.h | 2 - media/mtransport/test/ice_unittest.cpp | 2 +- media/mtransport/test/mtransport_test_utils.h | 6 +- .../test/proxy_tunnel_socket_unittest.cpp | 53 +- .../test/runnable_utils_unittest.cpp | 180 +- media/mtransport/test/sctp_unittest.cpp | 8 +- .../test/test_nr_socket_unittest.cpp | 1 - media/mtransport/test/transport_unittests.cpp | 10 +- .../test/webrtcproxychannel_unittest.cpp | 226 +- media/mtransport/test_nr_socket.cpp | 11 - media/mtransport/test_nr_socket.h | 1 - .../third_party/nICEr/src/ice/ice_candidate.c | 12 +- .../third_party/nICEr/src/ice/ice_candidate.h | 3 +- .../nICEr/src/ice/ice_media_stream.c | 2 +- .../nICEr/src/stun/stun_client_ctx.c | 109 +- media/mtransport/transportflow.cpp | 7 +- media/mtransport/transportflow.h | 3 +- media/mtransport/transportlayerloopback.h | 1 - media/mtransport/transportlayersrtp.cpp | 1 - .../gtest/audioconduit_unittests.cpp | 4 +- .../gtest/mediaconduit_unittests.cpp | 5 +- .../gtest/mediapipeline_unittest.cpp | 69 +- .../gtest/videoconduit_unittests.cpp | 2 +- .../src/media-conduit/AudioConduit.cpp | 17 +- .../src/media-conduit/AudioConduit.h | 9 +- .../src/media-conduit/MediaConduitInterface.h | 11 +- .../src/media-conduit/VideoConduit.cpp | 14 +- .../src/media-conduit/VideoConduit.h | 25 +- .../src/media-conduit/WebrtcGmpVideoCodec.cpp | 27 +- .../src/media-conduit/WebrtcGmpVideoCodec.h | 8 +- .../WebrtcMediaCodecVP8VideoCodec.cpp | 2 +- .../WebrtcMediaCodecVP8VideoCodec.h | 1 - .../src/mediapipeline/MediaPipeline.cpp | 430 +- .../src/mediapipeline/MediaPipeline.h | 98 +- .../peerconnection/MediaTransportHandler.cpp | 311 +- .../peerconnection/MediaTransportHandler.h | 17 +- .../MediaTransportHandlerIPC.cpp | 15 +- .../peerconnection/MediaTransportHandlerIPC.h | 6 +- .../peerconnection/MediaTransportParent.cpp | 20 +- .../src/peerconnection/PeerConnectionCtx.cpp | 2 +- .../src/peerconnection/PeerConnectionCtx.h | 2 +- .../src/peerconnection/PeerConnectionImpl.cpp | 113 +- .../src/peerconnection/PeerConnectionImpl.h | 11 +- .../peerconnection/PeerConnectionMedia.cpp | 284 +- .../src/peerconnection/PeerConnectionMedia.h | 46 +- .../src/peerconnection/TransceiverImpl.cpp | 49 +- .../src/peerconnection/TransceiverImpl.h | 25 +- .../WebrtcGlobalInformation.cpp | 43 +- memory/build/Utils.h | 4 +- memory/build/malloc_decls.h | 2 +- memory/build/mozjemalloc.cpp | 475 +- memory/build/mozjemalloc_types.h | 27 +- memory/build/mozmemory_wrap.cpp | 15 +- memory/build/rb.h | 3 + memory/gtest/TestJemalloc.cpp | 97 +- memory/mozalloc/cxxalloc.cpp | 2 +- memory/mozalloc/mozalloc.h | 17 +- memory/mozalloc/mozalloc_abort.cpp | 5 +- memory/replace/logalloc/LogAlloc.cpp | 8 +- mfbt/Assertions.h | 175 +- mfbt/Atomics.h | 5 +- mfbt/Attributes.h | 12 + mfbt/Casting.h | 6 +- mfbt/CheckedInt.h | 83 +- mfbt/EnumeratedArray.h | 26 - mfbt/FloatingPoint.h | 9 +- mfbt/FunctionRef.h | 218 + mfbt/HashFunctions.h | 6 +- mfbt/InitializedOnce.h | 209 + mfbt/IntegerRange.h | 10 +- mfbt/IntegerTypeTraits.h | 3 +- mfbt/Latin1.h | 7 +- mfbt/MathAlgorithms.h | 9 +- mfbt/Maybe.h | 423 +- mfbt/NotNull.h | 142 +- mfbt/Opaque.h | 4 +- mfbt/Pair.h | 49 +- mfbt/PodOperations.h | 9 + mfbt/Result.h | 6 +- mfbt/ReverseIterator.h | 4 +- mfbt/RollingMean.h | 3 +- mfbt/Saturate.h | 13 +- mfbt/Span.h | 73 +- mfbt/ThreadLocal.h | 4 +- mfbt/Tuple.h | 15 +- mfbt/TypeTraits.h | 745 +- mfbt/UniquePtr.h | 75 +- mfbt/UniquePtrExtensions.h | 30 +- mfbt/Variant.h | 32 +- mfbt/WrappingOperations.h | 15 +- mfbt/fallible.h | 2 +- mfbt/moz.build | 2 + mfbt/tests/TestCheckedInt.cpp | 15 +- mfbt/tests/TestFunctionRef.cpp | 130 + mfbt/tests/TestIntegerRange.cpp | 10 +- mfbt/tests/TestMaybe.cpp | 311 +- mfbt/tests/TestNotNull.cpp | 29 +- mfbt/tests/TestTypeTraits.cpp | 501 - mfbt/tests/TestTypedEnum.cpp | 5 +- mfbt/tests/TestVariant.cpp | 97 +- mfbt/tests/gtest/TestInitializedOnce.cpp | 177 + mfbt/tests/gtest/TestMozDbg.cpp | 11 +- mfbt/tests/gtest/TestSpan.cpp | 213 + mfbt/tests/gtest/moz.build | 4 + mfbt/tests/moz.build | 1 + mobile/android/app/geckoview-prefs.js | 3 - mobile/android/app/mobile.js | 13 - mobile/android/chrome/content/browser.js | 4 +- .../GeckoViewSelectionActionChild.js | 1 - .../components/geckoview/GeckoView.manifest | 3 - mobile/android/docs/index.rst | 7 - .../java/org/mozilla/gecko/GeckoAppShell.java | 8 +- .../mozilla/gecko/sqlite/SQLiteBridge.java | 2 +- .../org/mozilla/geckoview/GeckoEditable.java | 58 +- mobile/android/modules/ActionBarHandler.jsm | 1 - .../modules/geckoview/GeckoViewNavigation.jsm | 2 +- .../modules/geckoview/GeckoViewProgress.jsm | 2 +- .../org/mozilla/gecko/tests/SessionTest.java | 3 +- .../browser/robocop/testAccessibleCarets.js | 1 - mobile/android/themes/geckoview/content.css | 393 - mobile/android/themes/geckoview/defines.css | 6 + mobile/android/themes/geckoview/jar.mn | 2 - .../themes/geckoview/scrollbar-apz.css | 10 - modules/libjar/nsJAR.cpp | 4 +- modules/libjar/zipwriter/nsZipWriter.cpp | 20 +- modules/libpref/Preferences.cpp | 48 +- modules/libpref/docs/{index.rst => index.md} | 235 +- modules/libpref/init/StaticPrefList.yaml | 468 +- modules/libpref/init/all.js | 120 +- mozglue/android/moz.build | 2 +- mozglue/build/SSE.cpp | 23 +- mozglue/build/SSE.h | 4 + mozglue/misc/StackWalk.cpp | 11 + mozglue/misc/TimeStamp.h | 3 +- mozglue/misc/interceptor/Arm64.h | 7 +- mozglue/misc/moz.build | 5 + netwerk/base/Dashboard.cpp | 6 +- netwerk/base/LoadInfo.cpp | 23 +- netwerk/base/LoadInfo.h | 4 +- netwerk/base/Predictor.cpp | 166 +- netwerk/base/Predictor.h | 3 - netwerk/base/mozurl/Cargo.toml | 2 +- netwerk/base/nsBufferedStreams.cpp | 30 +- netwerk/base/nsBufferedStreams.h | 16 + netwerk/base/nsFileStreams.cpp | 2 +- netwerk/base/nsIIOService.idl | 11 +- netwerk/base/nsILoadInfo.idl | 9 - netwerk/base/nsIOService.cpp | 41 +- netwerk/base/nsIOService.h | 7 +- netwerk/base/nsIProxyInfo.idl | 2 +- netwerk/base/nsLoadGroup.cpp | 7 +- netwerk/base/nsNetUtil.cpp | 18 +- netwerk/base/nsProtocolProxyService.cpp | 10 + netwerk/base/nsProxyInfo.cpp | 6 + netwerk/base/nsURIHashKey.h | 2 +- netwerk/cache/nsCacheDevice.h | 4 +- netwerk/cache/nsCacheService.cpp | 2 +- netwerk/cache2/CacheFile.cpp | 14 +- netwerk/cache2/CacheFileChunk.h | 8 +- netwerk/cache2/CacheFileIOManager.h | 2 +- netwerk/cache2/CacheIOThread.cpp | 6 +- netwerk/cache2/CacheStorageService.cpp | 4 +- netwerk/dns/IDNBlocklistUtils.cpp | 22 +- netwerk/dns/IDNBlocklistUtils.h | 14 +- .../mdns/libmdns/nsDNSServiceDiscovery.cpp | 4 +- netwerk/ipc/ChannelEventQueue.h | 9 +- netwerk/ipc/NeckoChannelParams.ipdlh | 1 - netwerk/ipc/NeckoChild.cpp | 59 +- netwerk/ipc/NeckoChild.h | 13 +- netwerk/ipc/NeckoParent.cpp | 77 +- netwerk/ipc/NeckoParent.h | 18 +- netwerk/ipc/PNecko.ipdl | 21 +- netwerk/ipc/PSocketProcess.ipdl | 10 +- netwerk/ipc/SocketProcessChild.cpp | 37 +- netwerk/ipc/SocketProcessChild.h | 9 +- netwerk/ipc/SocketProcessHost.cpp | 2 +- netwerk/ipc/SocketProcessImpl.cpp | 2 +- netwerk/ipc/SocketProcessParent.cpp | 45 +- netwerk/ipc/SocketProcessParent.h | 10 +- netwerk/ipc/moz.build | 4 +- netwerk/locales/en-US/necko.properties | 4 - .../http/BackgroundChannelRegistrar.cpp | 4 +- .../http/ClassifierDummyChannelChild.h | 3 +- netwerk/protocol/http/nsCORSListenerProxy.cpp | 77 +- .../http/nsHttpActivityDistributor.cpp | 4 +- netwerk/protocol/http/nsHttpChannel.cpp | 38 +- netwerk/protocol/http/nsHttpConnectionMgr.cpp | 2 +- netwerk/protocol/http/nsHttpHandler.cpp | 3 +- .../protocol/websocket/WebSocketChannel.cpp | 2 +- netwerk/sctp/datachannel/DataChannel.cpp | 184 +- netwerk/sctp/datachannel/DataChannel.h | 93 +- .../streamconv/nsStreamConverterService.cpp | 12 +- netwerk/test/unit/test_predictor.js | 2 - old-configure.in | 7 +- package-lock.json | 1880 -- package.json | 27 - parser/html/nsHtml5TreeOperation.cpp | 11 +- parser/html/nsParserUtils.cpp | 12 +- parser/prototype/PrototypeDocumentParser.cpp | 1 + .../certverifier/NSSCertDBTrustDomain.cpp | 8 +- security/manager/ssl/DataStorage.cpp | 5 +- security/manager/ssl/EnterpriseRoots.cpp | 6 +- security/manager/ssl/PSMContentListener.cpp | 7 - .../manager/ssl/RemoteSecuritySettings.jsm | 108 +- security/manager/ssl/cert_storage/Cargo.toml | 5 +- security/manager/ssl/cert_storage/src/lib.rs | 399 +- security/manager/ssl/nsICertStorage.idl | 34 - security/manager/ssl/nsNSSComponent.cpp | 12 +- .../tests/unit/test_cert_storage_broken_db.js | 23 - .../tests/unit/test_cert_storage_direct.js | 138 - .../unit/test_cert_storage_preexisting.js | 18 +- .../test_cert_storage_preexisting/data.mdb | Bin 45056 -> 0 bytes .../data.safe.bin | Bin 0 -> 122 bytes .../test_cert_storage_preexisting/lock.mdb | Bin 8192 -> 0 bytes .../tests/unit/test_intermediate_preloads.js | 58 +- security/manager/ssl/tests/unit/xpcshell.ini | 4 +- security/nss.symbols | 2 +- .../RemoteSandboxBrokerChild.cpp | 4 +- .../RemoteSandboxBrokerChild.h | 2 +- .../RemoteSandboxBrokerParent.cpp | 2 +- .../RemoteSandboxBrokerProcessChild.cpp | 2 +- services/fxaccounts/FxAccountsPush.jsm | 1 - services/settings/RemoteSettingsClient.jsm | 12 +- services/sync/modules/browserid_identity.js | 2 +- services/sync/tests/unit/head_helpers.js | 15 +- storage/StorageBaseStatementInternal.cpp | 2 +- storage/moz.build | 2 +- storage/mozStorageBindingParams.cpp | 6 +- storage/mozStorageBindingParamsArray.cpp | 2 +- storage/mozStorageConnection.cpp | 2 +- storage/mozStorageService.cpp | 2 +- storage/test/gtest/test_file_perms.cpp | 2 +- taskcluster/ci/config.yml | 2 +- taskcluster/ci/source-test/mozlint.yml | 11 + taskcluster/ci/test/raptor.yml | 4 +- taskcluster/ci/test/talos.yml | 2 +- taskcluster/ci/test/test-platforms.yml | 2 +- taskcluster/taskgraph/transforms/tests.py | 28 +- taskcluster/taskgraph/try_option_syntax.py | 16 +- taskcluster/taskgraph/util/seta.py | 2 - third_party/moz.build | 7 +- third_party/msgpack/README-mozilla | 20 - third_party/msgpack/include/msgpack.h | 24 - third_party/msgpack/include/msgpack.hpp | 22 - .../include/msgpack/adaptor/adaptor_base.hpp | 19 - .../msgpack/adaptor/adaptor_base_decl.hpp | 17 - .../include/msgpack/adaptor/array_ref.hpp | 17 - .../msgpack/adaptor/array_ref_decl.hpp | 17 - .../msgpack/include/msgpack/adaptor/bool.hpp | 15 - .../include/msgpack/adaptor/boost/fusion.hpp | 15 - .../msgpack/adaptor/boost/msgpack_variant.hpp | 18 - .../adaptor/boost/msgpack_variant_decl.hpp | 17 - .../msgpack/adaptor/boost/optional.hpp | 15 - .../msgpack/adaptor/boost/string_ref.hpp | 15 - .../msgpack/adaptor/boost/string_view.hpp | 15 - .../include/msgpack/adaptor/carray.hpp | 15 - .../include/msgpack/adaptor/char_ptr.hpp | 15 - .../msgpack/adaptor/check_container_size.hpp | 17 - .../adaptor/check_container_size_decl.hpp | 17 - .../include/msgpack/adaptor/cpp11/array.hpp | 16 - .../msgpack/adaptor/cpp11/array_char.hpp | 16 - .../adaptor/cpp11/array_unsigned_char.hpp | 16 - .../include/msgpack/adaptor/cpp11/chrono.hpp | 16 - .../msgpack/adaptor/cpp11/forward_list.hpp | 16 - .../adaptor/cpp11/reference_wrapper.hpp | 16 - .../msgpack/adaptor/cpp11/shared_ptr.hpp | 16 - .../include/msgpack/adaptor/cpp11/tuple.hpp | 16 - .../msgpack/adaptor/cpp11/unique_ptr.hpp | 16 - .../msgpack/adaptor/cpp11/unordered_map.hpp | 16 - .../msgpack/adaptor/cpp11/unordered_set.hpp | 16 - .../include/msgpack/adaptor/cpp17/byte.hpp | 16 - .../msgpack/adaptor/cpp17/carray_byte.hpp | 16 - .../msgpack/adaptor/cpp17/optional.hpp | 16 - .../msgpack/adaptor/cpp17/string_view.hpp | 16 - .../msgpack/adaptor/cpp17/vector_byte.hpp | 16 - .../include/msgpack/adaptor/define.hpp | 17 - .../include/msgpack/adaptor/define_decl.hpp | 144 - .../msgpack/include/msgpack/adaptor/deque.hpp | 15 - .../msgpack/include/msgpack/adaptor/ext.hpp | 17 - .../include/msgpack/adaptor/ext_decl.hpp | 17 - .../include/msgpack/adaptor/fixint.hpp | 17 - .../include/msgpack/adaptor/fixint_decl.hpp | 17 - .../msgpack/include/msgpack/adaptor/float.hpp | 15 - .../msgpack/include/msgpack/adaptor/int.hpp | 17 - .../include/msgpack/adaptor/int_decl.hpp | 17 - .../msgpack/include/msgpack/adaptor/list.hpp | 15 - .../msgpack/include/msgpack/adaptor/map.hpp | 18 - .../include/msgpack/adaptor/map_decl.hpp | 17 - .../include/msgpack/adaptor/msgpack_tuple.hpp | 17 - .../msgpack/adaptor/msgpack_tuple_decl.hpp | 17 - .../msgpack/include/msgpack/adaptor/nil.hpp | 17 - .../include/msgpack/adaptor/nil_decl.hpp | 17 - .../msgpack/include/msgpack/adaptor/pair.hpp | 15 - .../msgpack/include/msgpack/adaptor/raw.hpp | 17 - .../include/msgpack/adaptor/raw_decl.hpp | 17 - .../msgpack/include/msgpack/adaptor/set.hpp | 15 - .../msgpack/adaptor/size_equal_only.hpp | 17 - .../msgpack/adaptor/size_equal_only_decl.hpp | 17 - .../include/msgpack/adaptor/string.hpp | 15 - .../msgpack/adaptor/tr1/unordered_map.hpp | 171 - .../msgpack/adaptor/tr1/unordered_set.hpp | 165 - .../msgpack/include/msgpack/adaptor/v4raw.hpp | 17 - .../include/msgpack/adaptor/v4raw_decl.hpp | 17 - .../include/msgpack/adaptor/vector.hpp | 15 - .../include/msgpack/adaptor/vector_bool.hpp | 15 - .../include/msgpack/adaptor/vector_char.hpp | 15 - .../msgpack/adaptor/vector_unsigned_char.hpp | 15 - .../msgpack/include/msgpack/cpp_config.hpp | 17 - .../include/msgpack/cpp_config_decl.hpp | 17 - .../include/msgpack/create_object_visitor.hpp | 17 - .../msgpack/create_object_visitor_decl.hpp | 16 - third_party/msgpack/include/msgpack/fbuffer.h | 38 - .../msgpack/include/msgpack/fbuffer.hpp | 17 - .../msgpack/include/msgpack/fbuffer_decl.hpp | 17 - .../msgpack/include/msgpack/gcc_atomic.h | 25 - .../msgpack/include/msgpack/gcc_atomic.hpp | 31 - .../msgpack/include/msgpack/iterator.hpp | 18 - .../msgpack/include/msgpack/iterator_decl.hpp | 18 - third_party/msgpack/include/msgpack/meta.hpp | 18 - .../msgpack/include/msgpack/meta_decl.hpp | 18 - .../msgpack/include/msgpack/null_visitor.hpp | 17 - .../include/msgpack/null_visitor_decl.hpp | 16 - third_party/msgpack/include/msgpack/object.h | 116 - .../msgpack/include/msgpack/object.hpp | 18 - .../msgpack/include/msgpack/object_decl.hpp | 18 - .../msgpack/include/msgpack/object_fwd.hpp | 20 - .../include/msgpack/object_fwd_decl.hpp | 18 - third_party/msgpack/include/msgpack/pack.h | 151 - third_party/msgpack/include/msgpack/pack.hpp | 17 - .../msgpack/include/msgpack/pack_decl.hpp | 17 - .../msgpack/include/msgpack/pack_define.h | 18 - .../msgpack/include/msgpack/pack_template.h | 937 - third_party/msgpack/include/msgpack/parse.hpp | 18 - .../msgpack/include/msgpack/parse_decl.hpp | 16 - .../msgpack/include/msgpack/parse_return.hpp | 17 - third_party/msgpack/include/msgpack/predef.h | 24 - .../include/msgpack/predef/architecture.h | 32 - .../msgpack/predef/architecture/alpha.h | 59 - .../include/msgpack/predef/architecture/arm.h | 70 - .../msgpack/predef/architecture/blackfin.h | 46 - .../msgpack/predef/architecture/convex.h | 65 - .../msgpack/predef/architecture/ia64.h | 49 - .../msgpack/predef/architecture/m68k.h | 82 - .../msgpack/predef/architecture/mips.h | 73 - .../msgpack/predef/architecture/parisc.h | 64 - .../include/msgpack/predef/architecture/ppc.h | 72 - .../msgpack/predef/architecture/pyramid.h | 42 - .../msgpack/predef/architecture/rs6k.h | 56 - .../msgpack/predef/architecture/sparc.h | 54 - .../msgpack/predef/architecture/superh.h | 67 - .../msgpack/predef/architecture/sys370.h | 43 - .../msgpack/predef/architecture/sys390.h | 43 - .../include/msgpack/predef/architecture/x86.h | 38 - .../msgpack/predef/architecture/x86/32.h | 87 - .../msgpack/predef/architecture/x86/64.h | 50 - .../include/msgpack/predef/architecture/z.h | 42 - .../msgpack/include/msgpack/predef/compiler.h | 43 - .../include/msgpack/predef/compiler/borland.h | 63 - .../include/msgpack/predef/compiler/clang.h | 56 - .../include/msgpack/predef/compiler/comeau.h | 61 - .../include/msgpack/predef/compiler/compaq.h | 66 - .../include/msgpack/predef/compiler/diab.h | 56 - .../msgpack/predef/compiler/digitalmars.h | 56 - .../include/msgpack/predef/compiler/dignus.h | 56 - .../include/msgpack/predef/compiler/edg.h | 56 - .../include/msgpack/predef/compiler/ekopath.h | 57 - .../include/msgpack/predef/compiler/gcc.h | 68 - .../include/msgpack/predef/compiler/gcc_xml.h | 53 - .../msgpack/predef/compiler/greenhills.h | 66 - .../include/msgpack/predef/compiler/hp_acc.h | 61 - .../include/msgpack/predef/compiler/iar.h | 56 - .../include/msgpack/predef/compiler/ibm.h | 72 - .../include/msgpack/predef/compiler/intel.h | 65 - .../include/msgpack/predef/compiler/kai.h | 56 - .../include/msgpack/predef/compiler/llvm.h | 57 - .../msgpack/predef/compiler/metaware.h | 53 - .../msgpack/predef/compiler/metrowerks.h | 77 - .../msgpack/predef/compiler/microtec.h | 53 - .../include/msgpack/predef/compiler/mpw.h | 63 - .../include/msgpack/predef/compiler/palm.h | 56 - .../include/msgpack/predef/compiler/pgi.h | 60 - .../msgpack/predef/compiler/sgi_mipspro.h | 66 - .../include/msgpack/predef/compiler/sunpro.h | 76 - .../include/msgpack/predef/compiler/tendra.h | 53 - .../include/msgpack/predef/compiler/visualc.h | 91 - .../include/msgpack/predef/compiler/watcom.h | 56 - .../include/msgpack/predef/detail/_cassert.h | 17 - .../msgpack/predef/detail/_exception.h | 15 - .../msgpack/predef/detail/comp_detected.h | 10 - .../msgpack/predef/detail/endian_compat.h | 26 - .../msgpack/predef/detail/os_detected.h | 10 - .../msgpack/predef/detail/platform_detected.h | 10 - .../include/msgpack/predef/detail/test.h | 17 - .../include/msgpack/predef/detail/test_def.h | 71 - .../msgpack/include/msgpack/predef/hardware.h | 16 - .../include/msgpack/predef/hardware/simd.h | 119 - .../msgpack/predef/hardware/simd/arm.h | 57 - .../predef/hardware/simd/arm/versions.h | 32 - .../msgpack/predef/hardware/simd/ppc.h | 69 - .../predef/hardware/simd/ppc/versions.h | 51 - .../msgpack/predef/hardware/simd/x86.h | 123 - .../predef/hardware/simd/x86/versions.h | 129 - .../msgpack/predef/hardware/simd/x86_amd.h | 87 - .../predef/hardware/simd/x86_amd/versions.h | 51 - .../msgpack/include/msgpack/predef/language.h | 17 - .../include/msgpack/predef/language/objc.h | 42 - .../include/msgpack/predef/language/stdc.h | 53 - .../include/msgpack/predef/language/stdcpp.h | 121 - .../msgpack/include/msgpack/predef/library.h | 16 - .../include/msgpack/predef/library/c.h | 20 - .../msgpack/predef/library/c/_prefix.h | 13 - .../include/msgpack/predef/library/c/gnu.h | 61 - .../include/msgpack/predef/library/c/uc.h | 47 - .../include/msgpack/predef/library/c/vms.h | 47 - .../include/msgpack/predef/library/c/zos.h | 56 - .../include/msgpack/predef/library/std.h | 25 - .../msgpack/predef/library/std/_prefix.h | 23 - .../include/msgpack/predef/library/std/cxx.h | 46 - .../msgpack/predef/library/std/dinkumware.h | 52 - .../msgpack/predef/library/std/libcomo.h | 47 - .../msgpack/predef/library/std/modena.h | 45 - .../include/msgpack/predef/library/std/msl.h | 53 - .../msgpack/predef/library/std/roguewave.h | 56 - .../include/msgpack/predef/library/std/sgi.h | 51 - .../msgpack/predef/library/std/stdcpp3.h | 53 - .../msgpack/predef/library/std/stlport.h | 59 - .../msgpack/predef/library/std/vacpp.h | 44 - .../msgpack/include/msgpack/predef/make.h | 89 - .../msgpack/include/msgpack/predef/os.h | 33 - .../msgpack/include/msgpack/predef/os/aix.h | 66 - .../include/msgpack/predef/os/amigaos.h | 46 - .../include/msgpack/predef/os/android.h | 45 - .../msgpack/include/msgpack/predef/os/beos.h | 45 - .../msgpack/include/msgpack/predef/os/bsd.h | 103 - .../include/msgpack/predef/os/bsd/bsdi.h | 48 - .../include/msgpack/predef/os/bsd/dragonfly.h | 50 - .../include/msgpack/predef/os/bsd/free.h | 60 - .../include/msgpack/predef/os/bsd/net.h | 84 - .../include/msgpack/predef/os/bsd/open.h | 171 - .../include/msgpack/predef/os/cygwin.h | 45 - .../msgpack/include/msgpack/predef/os/haiku.h | 46 - .../msgpack/include/msgpack/predef/os/hpux.h | 47 - .../msgpack/include/msgpack/predef/os/ios.h | 51 - .../msgpack/include/msgpack/predef/os/irix.h | 46 - .../msgpack/include/msgpack/predef/os/linux.h | 46 - .../msgpack/include/msgpack/predef/os/macos.h | 65 - .../msgpack/include/msgpack/predef/os/os400.h | 45 - .../include/msgpack/predef/os/qnxnto.h | 59 - .../include/msgpack/predef/os/solaris.h | 46 - .../msgpack/include/msgpack/predef/os/unix.h | 76 - .../msgpack/include/msgpack/predef/os/vms.h | 52 - .../include/msgpack/predef/os/windows.h | 51 - .../msgpack/include/msgpack/predef/other.h | 16 - .../include/msgpack/predef/other/endian.h | 204 - .../msgpack/include/msgpack/predef/platform.h | 21 - .../include/msgpack/predef/platform/mingw.h | 69 - .../msgpack/predef/platform/windows_desktop.h | 45 - .../msgpack/predef/platform/windows_phone.h | 43 - .../msgpack/predef/platform/windows_runtime.h | 45 - .../msgpack/predef/platform/windows_store.h | 43 - .../msgpack/include/msgpack/predef/version.h | 15 - .../include/msgpack/predef/version_number.h | 53 - .../msgpack/include/msgpack/preprocessor.hpp | 19 - .../msgpack/preprocessor/arithmetic.hpp | 25 - .../msgpack/preprocessor/arithmetic/add.hpp | 51 - .../msgpack/preprocessor/arithmetic/dec.hpp | 289 - .../arithmetic/detail/div_base.hpp | 61 - .../msgpack/preprocessor/arithmetic/div.hpp | 39 - .../msgpack/preprocessor/arithmetic/inc.hpp | 288 - .../msgpack/preprocessor/arithmetic/mod.hpp | 39 - .../msgpack/preprocessor/arithmetic/mul.hpp | 53 - .../msgpack/preprocessor/arithmetic/sub.hpp | 50 - .../include/msgpack/preprocessor/array.hpp | 32 - .../msgpack/preprocessor/array/data.hpp | 28 - .../preprocessor/array/detail/get_data.hpp | 55 - .../msgpack/preprocessor/array/elem.hpp | 29 - .../msgpack/preprocessor/array/enum.hpp | 33 - .../msgpack/preprocessor/array/insert.hpp | 55 - .../msgpack/preprocessor/array/pop_back.hpp | 37 - .../msgpack/preprocessor/array/pop_front.hpp | 38 - .../msgpack/preprocessor/array/push_back.hpp | 35 - .../msgpack/preprocessor/array/push_front.hpp | 35 - .../msgpack/preprocessor/array/remove.hpp | 54 - .../msgpack/preprocessor/array/replace.hpp | 49 - .../msgpack/preprocessor/array/reverse.hpp | 29 - .../msgpack/preprocessor/array/size.hpp | 28 - .../msgpack/preprocessor/array/to_list.hpp | 47 - .../msgpack/preprocessor/array/to_seq.hpp | 46 - .../msgpack/preprocessor/array/to_tuple.hpp | 33 - .../msgpack/preprocessor/assert_msg.hpp | 17 - .../include/msgpack/preprocessor/cat.hpp | 35 - .../include/msgpack/preprocessor/comma.hpp | 17 - .../include/msgpack/preprocessor/comma_if.hpp | 17 - .../msgpack/preprocessor/comparison.hpp | 24 - .../msgpack/preprocessor/comparison/equal.hpp | 34 - .../preprocessor/comparison/greater.hpp | 38 - .../preprocessor/comparison/greater_equal.hpp | 38 - .../msgpack/preprocessor/comparison/less.hpp | 46 - .../preprocessor/comparison/less_equal.hpp | 39 - .../preprocessor/comparison/not_equal.hpp | 814 - .../msgpack/preprocessor/config/config.hpp | 104 - .../msgpack/preprocessor/config/limits.hpp | 30 - .../include/msgpack/preprocessor/control.hpp | 22 - .../msgpack/preprocessor/control/deduce_d.hpp | 22 - .../preprocessor/control/detail/dmc/while.hpp | 536 - .../preprocessor/control/detail/edg/while.hpp | 534 - .../control/detail/msvc/while.hpp | 277 - .../preprocessor/control/detail/while.hpp | 536 - .../msgpack/preprocessor/control/expr_if.hpp | 30 - .../msgpack/preprocessor/control/expr_iif.hpp | 31 - .../msgpack/preprocessor/control/if.hpp | 30 - .../msgpack/preprocessor/control/iif.hpp | 34 - .../msgpack/preprocessor/control/while.hpp | 312 - .../include/msgpack/preprocessor/debug.hpp | 18 - .../msgpack/preprocessor/debug/assert.hpp | 44 - .../msgpack/preprocessor/debug/error.hpp | 33 - .../msgpack/preprocessor/debug/line.hpp | 35 - .../include/msgpack/preprocessor/dec.hpp | 17 - .../msgpack/preprocessor/detail/auto_rec.hpp | 293 - .../msgpack/preprocessor/detail/check.hpp | 48 - .../preprocessor/detail/dmc/auto_rec.hpp | 286 - .../msgpack/preprocessor/detail/is_binary.hpp | 30 - .../preprocessor/detail/is_nullary.hpp | 30 - .../msgpack/preprocessor/detail/is_unary.hpp | 30 - .../msgpack/preprocessor/detail/null.hpp | 17 - .../msgpack/preprocessor/detail/split.hpp | 35 - .../include/msgpack/preprocessor/empty.hpp | 17 - .../include/msgpack/preprocessor/enum.hpp | 17 - .../msgpack/preprocessor/enum_params.hpp | 17 - .../enum_params_with_a_default.hpp | 17 - .../enum_params_with_defaults.hpp | 17 - .../msgpack/preprocessor/enum_shifted.hpp | 17 - .../preprocessor/enum_shifted_params.hpp | 17 - .../include/msgpack/preprocessor/expand.hpp | 17 - .../include/msgpack/preprocessor/expr_if.hpp | 17 - .../msgpack/preprocessor/facilities.hpp | 23 - .../msgpack/preprocessor/facilities/apply.hpp | 34 - .../facilities/detail/is_empty.hpp | 55 - .../msgpack/preprocessor/facilities/empty.hpp | 23 - .../preprocessor/facilities/expand.hpp | 28 - .../preprocessor/facilities/identity.hpp | 27 - .../preprocessor/facilities/intercept.hpp | 277 - .../msgpack/preprocessor/facilities/is_1.hpp | 23 - .../preprocessor/facilities/is_empty.hpp | 56 - .../preprocessor/facilities/is_empty_or_1.hpp | 31 - .../facilities/is_empty_variadic.hpp | 57 - .../preprocessor/facilities/overload.hpp | 25 - .../include/msgpack/preprocessor/for.hpp | 17 - .../include/msgpack/preprocessor/identity.hpp | 17 - .../include/msgpack/preprocessor/if.hpp | 17 - .../include/msgpack/preprocessor/inc.hpp | 17 - .../include/msgpack/preprocessor/iterate.hpp | 17 - .../msgpack/preprocessor/iteration.hpp | 19 - .../iteration/detail/bounds/lower1.hpp | 99 - .../iteration/detail/bounds/lower2.hpp | 99 - .../iteration/detail/bounds/lower3.hpp | 99 - .../iteration/detail/bounds/lower4.hpp | 99 - .../iteration/detail/bounds/lower5.hpp | 99 - .../iteration/detail/bounds/upper1.hpp | 99 - .../iteration/detail/bounds/upper2.hpp | 99 - .../iteration/detail/bounds/upper3.hpp | 99 - .../iteration/detail/bounds/upper4.hpp | 99 - .../iteration/detail/bounds/upper5.hpp | 99 - .../preprocessor/iteration/detail/finish.hpp | 99 - .../iteration/detail/iter/forward1.hpp | 1342 -- .../iteration/detail/iter/forward2.hpp | 1338 -- .../iteration/detail/iter/forward3.hpp | 1338 -- .../iteration/detail/iter/forward4.hpp | 1338 -- .../iteration/detail/iter/forward5.hpp | 1338 -- .../iteration/detail/iter/reverse1.hpp | 1296 -- .../iteration/detail/iter/reverse2.hpp | 1296 -- .../iteration/detail/iter/reverse3.hpp | 1296 -- .../iteration/detail/iter/reverse4.hpp | 1296 -- .../iteration/detail/iter/reverse5.hpp | 1296 -- .../preprocessor/iteration/detail/local.hpp | 812 - .../preprocessor/iteration/detail/rlocal.hpp | 782 - .../preprocessor/iteration/detail/self.hpp | 21 - .../preprocessor/iteration/detail/start.hpp | 99 - .../preprocessor/iteration/iterate.hpp | 82 - .../msgpack/preprocessor/iteration/local.hpp | 26 - .../msgpack/preprocessor/iteration/self.hpp | 19 - .../include/msgpack/preprocessor/library.hpp | 37 - .../include/msgpack/preprocessor/limits.hpp | 17 - .../include/msgpack/preprocessor/list.hpp | 37 - .../include/msgpack/preprocessor/list/adt.hpp | 73 - .../msgpack/preprocessor/list/append.hpp | 40 - .../include/msgpack/preprocessor/list/at.hpp | 39 - .../include/msgpack/preprocessor/list/cat.hpp | 42 - .../list/detail/dmc/fold_left.hpp | 279 - .../list/detail/edg/fold_left.hpp | 536 - .../list/detail/edg/fold_right.hpp | 794 - .../preprocessor/list/detail/fold_left.hpp | 279 - .../preprocessor/list/detail/fold_right.hpp | 277 - .../msgpack/preprocessor/list/enum.hpp | 41 - .../msgpack/preprocessor/list/filter.hpp | 54 - .../msgpack/preprocessor/list/first_n.hpp | 58 - .../msgpack/preprocessor/list/fold_left.hpp | 303 - .../msgpack/preprocessor/list/fold_right.hpp | 40 - .../msgpack/preprocessor/list/for_each.hpp | 49 - .../msgpack/preprocessor/list/for_each_i.hpp | 65 - .../preprocessor/list/for_each_product.hpp | 141 - .../msgpack/preprocessor/list/rest_n.hpp | 55 - .../msgpack/preprocessor/list/reverse.hpp | 40 - .../msgpack/preprocessor/list/size.hpp | 58 - .../msgpack/preprocessor/list/to_array.hpp | 155 - .../msgpack/preprocessor/list/to_seq.hpp | 32 - .../msgpack/preprocessor/list/to_tuple.hpp | 61 - .../msgpack/preprocessor/list/transform.hpp | 49 - .../include/msgpack/preprocessor/logical.hpp | 29 - .../msgpack/preprocessor/logical/and.hpp | 30 - .../msgpack/preprocessor/logical/bitand.hpp | 38 - .../msgpack/preprocessor/logical/bitnor.hpp | 38 - .../msgpack/preprocessor/logical/bitor.hpp | 38 - .../msgpack/preprocessor/logical/bitxor.hpp | 38 - .../msgpack/preprocessor/logical/bool.hpp | 288 - .../msgpack/preprocessor/logical/compl.hpp | 36 - .../msgpack/preprocessor/logical/nor.hpp | 30 - .../msgpack/preprocessor/logical/not.hpp | 30 - .../msgpack/preprocessor/logical/or.hpp | 30 - .../msgpack/preprocessor/logical/xor.hpp | 30 - .../include/msgpack/preprocessor/max.hpp | 17 - .../include/msgpack/preprocessor/min.hpp | 17 - .../msgpack/preprocessor/punctuation.hpp | 22 - .../preprocessor/punctuation/comma.hpp | 21 - .../preprocessor/punctuation/comma_if.hpp | 31 - .../punctuation/detail/is_begin_parens.hpp | 48 - .../punctuation/is_begin_parens.hpp | 51 - .../preprocessor/punctuation/paren.hpp | 23 - .../preprocessor/punctuation/paren_if.hpp | 38 - .../punctuation/remove_parens.hpp | 39 - .../include/msgpack/preprocessor/repeat.hpp | 17 - .../msgpack/preprocessor/repeat_2nd.hpp | 17 - .../msgpack/preprocessor/repeat_3rd.hpp | 17 - .../msgpack/preprocessor/repeat_from_to.hpp | 17 - .../preprocessor/repeat_from_to_2nd.hpp | 17 - .../preprocessor/repeat_from_to_3rd.hpp | 17 - .../msgpack/preprocessor/repetition.hpp | 32 - .../preprocessor/repetition/deduce_r.hpp | 22 - .../preprocessor/repetition/deduce_z.hpp | 22 - .../repetition/detail/dmc/for.hpp | 536 - .../repetition/detail/edg/for.hpp | 534 - .../preprocessor/repetition/detail/for.hpp | 536 - .../repetition/detail/msvc/for.hpp | 277 - .../msgpack/preprocessor/repetition/enum.hpp | 66 - .../repetition/enum_binary_params.hpp | 54 - .../preprocessor/repetition/enum_params.hpp | 41 - .../repetition/enum_params_with_a_default.hpp | 25 - .../repetition/enum_params_with_defaults.hpp | 24 - .../preprocessor/repetition/enum_shifted.hpp | 68 - .../repetition/enum_shifted_binary_params.hpp | 51 - .../repetition/enum_shifted_params.hpp | 44 - .../preprocessor/repetition/enum_trailing.hpp | 63 - .../enum_trailing_binary_params.hpp | 53 - .../repetition/enum_trailing_params.hpp | 38 - .../msgpack/preprocessor/repetition/for.hpp | 324 - .../preprocessor/repetition/repeat.hpp | 825 - .../repetition/repeat_from_to.hpp | 87 - .../msgpack/preprocessor/selection.hpp | 18 - .../msgpack/preprocessor/selection/max.hpp | 39 - .../msgpack/preprocessor/selection/min.hpp | 39 - .../include/msgpack/preprocessor/seq.hpp | 44 - .../include/msgpack/preprocessor/seq/cat.hpp | 49 - .../seq/detail/binary_transform.hpp | 48 - .../preprocessor/seq/detail/is_empty.hpp | 49 - .../msgpack/preprocessor/seq/detail/split.hpp | 284 - .../include/msgpack/preprocessor/seq/elem.hpp | 304 - .../include/msgpack/preprocessor/seq/enum.hpp | 288 - .../msgpack/preprocessor/seq/filter.hpp | 54 - .../msgpack/preprocessor/seq/first_n.hpp | 30 - .../msgpack/preprocessor/seq/fold_left.hpp | 1070 -- .../msgpack/preprocessor/seq/fold_right.hpp | 288 - .../msgpack/preprocessor/seq/for_each.hpp | 107 - .../msgpack/preprocessor/seq/for_each_i.hpp | 109 - .../preprocessor/seq/for_each_product.hpp | 126 - .../msgpack/preprocessor/seq/insert.hpp | 28 - .../msgpack/preprocessor/seq/pop_back.hpp | 29 - .../msgpack/preprocessor/seq/pop_front.hpp | 27 - .../msgpack/preprocessor/seq/push_back.hpp | 19 - .../msgpack/preprocessor/seq/push_front.hpp | 19 - .../msgpack/preprocessor/seq/remove.hpp | 29 - .../msgpack/preprocessor/seq/replace.hpp | 45 - .../msgpack/preprocessor/seq/rest_n.hpp | 46 - .../msgpack/preprocessor/seq/reverse.hpp | 39 - .../include/msgpack/preprocessor/seq/seq.hpp | 44 - .../include/msgpack/preprocessor/seq/size.hpp | 548 - .../msgpack/preprocessor/seq/subseq.hpp | 28 - .../msgpack/preprocessor/seq/to_array.hpp | 28 - .../msgpack/preprocessor/seq/to_list.hpp | 29 - .../msgpack/preprocessor/seq/to_tuple.hpp | 27 - .../msgpack/preprocessor/seq/transform.hpp | 48 - .../preprocessor/seq/variadic_seq_to_seq.hpp | 28 - .../include/msgpack/preprocessor/slot.hpp | 17 - .../msgpack/preprocessor/slot/counter.hpp | 25 - .../preprocessor/slot/detail/counter.hpp | 269 - .../msgpack/preprocessor/slot/detail/def.hpp | 49 - .../preprocessor/slot/detail/shared.hpp | 247 - .../preprocessor/slot/detail/slot1.hpp | 267 - .../preprocessor/slot/detail/slot2.hpp | 267 - .../preprocessor/slot/detail/slot3.hpp | 267 - .../preprocessor/slot/detail/slot4.hpp | 267 - .../preprocessor/slot/detail/slot5.hpp | 267 - .../msgpack/preprocessor/slot/slot.hpp | 32 - .../msgpack/preprocessor/stringize.hpp | 33 - .../include/msgpack/preprocessor/tuple.hpp | 35 - .../tuple/detail/is_single_return.hpp | 28 - .../msgpack/preprocessor/tuple/eat.hpp | 115 - .../msgpack/preprocessor/tuple/elem.hpp | 201 - .../msgpack/preprocessor/tuple/enum.hpp | 22 - .../msgpack/preprocessor/tuple/insert.hpp | 37 - .../msgpack/preprocessor/tuple/pop_back.hpp | 64 - .../msgpack/preprocessor/tuple/pop_front.hpp | 65 - .../msgpack/preprocessor/tuple/push_back.hpp | 31 - .../msgpack/preprocessor/tuple/push_front.hpp | 32 - .../msgpack/preprocessor/tuple/rem.hpp | 149 - .../msgpack/preprocessor/tuple/remove.hpp | 64 - .../msgpack/preprocessor/tuple/replace.hpp | 37 - .../msgpack/preprocessor/tuple/reverse.hpp | 117 - .../msgpack/preprocessor/tuple/size.hpp | 28 - .../msgpack/preprocessor/tuple/to_array.hpp | 39 - .../msgpack/preprocessor/tuple/to_list.hpp | 118 - .../msgpack/preprocessor/tuple/to_seq.hpp | 119 - .../include/msgpack/preprocessor/variadic.hpp | 23 - .../variadic/detail/is_single_return.hpp | 28 - .../msgpack/preprocessor/variadic/elem.hpp | 94 - .../msgpack/preprocessor/variadic/size.hpp | 30 - .../preprocessor/variadic/to_array.hpp | 32 - .../msgpack/preprocessor/variadic/to_list.hpp | 25 - .../msgpack/preprocessor/variadic/to_seq.hpp | 25 - .../preprocessor/variadic/to_tuple.hpp | 24 - .../include/msgpack/preprocessor/while.hpp | 17 - .../msgpack/preprocessor/wstringize.hpp | 29 - third_party/msgpack/include/msgpack/sbuffer.h | 110 - .../msgpack/include/msgpack/sbuffer.hpp | 17 - .../msgpack/include/msgpack/sbuffer_decl.hpp | 18 - third_party/msgpack/include/msgpack/sysdep.h | 201 - .../msgpack/include/msgpack/timestamp.h | 54 - third_party/msgpack/include/msgpack/type.hpp | 68 - third_party/msgpack/include/msgpack/unpack.h | 281 - .../msgpack/include/msgpack/unpack.hpp | 19 - .../msgpack/include/msgpack/unpack_decl.hpp | 17 - .../msgpack/include/msgpack/unpack_define.h | 89 - .../include/msgpack/unpack_exception.hpp | 15 - .../msgpack/include/msgpack/unpack_template.h | 466 - third_party/msgpack/include/msgpack/util.h | 15 - .../msgpack/v1/adaptor/adaptor_base.hpp | 116 - .../msgpack/v1/adaptor/adaptor_base_decl.hpp | 86 - .../include/msgpack/v1/adaptor/array_ref.hpp | 305 - .../msgpack/v1/adaptor/array_ref_decl.hpp | 55 - .../include/msgpack/v1/adaptor/bool.hpp | 66 - .../msgpack/v1/adaptor/boost/fusion.hpp | 203 - .../v1/adaptor/boost/msgpack_variant.hpp | 443 - .../v1/adaptor/boost/msgpack_variant_decl.hpp | 62 - .../msgpack/v1/adaptor/boost/optional.hpp | 96 - .../msgpack/v1/adaptor/boost/string_ref.hpp | 87 - .../msgpack/v1/adaptor/boost/string_view.hpp | 87 - .../include/msgpack/v1/adaptor/carray.hpp | 253 - .../include/msgpack/v1/adaptor/char_ptr.hpp | 92 - .../v1/adaptor/check_container_size.hpp | 67 - .../v1/adaptor/check_container_size_decl.hpp | 44 - .../msgpack/v1/adaptor/cpp11/array.hpp | 138 - .../msgpack/v1/adaptor/cpp11/array_char.hpp | 97 - .../v1/adaptor/cpp11/array_unsigned_char.hpp | 97 - .../msgpack/v1/adaptor/cpp11/chrono.hpp | 215 - .../msgpack/v1/adaptor/cpp11/forward_list.hpp | 94 - .../v1/adaptor/cpp11/reference_wrapper.hpp | 68 - .../msgpack/v1/adaptor/cpp11/shared_ptr.hpp | 82 - .../msgpack/v1/adaptor/cpp11/tuple.hpp | 175 - .../msgpack/v1/adaptor/cpp11/unique_ptr.hpp | 82 - .../v1/adaptor/cpp11/unordered_map.hpp | 182 - .../v1/adaptor/cpp11/unordered_set.hpp | 172 - .../include/msgpack/v1/adaptor/cpp17/byte.hpp | 74 - .../msgpack/v1/adaptor/cpp17/carray_byte.hpp | 109 - .../msgpack/v1/adaptor/cpp17/optional.hpp | 90 - .../msgpack/v1/adaptor/cpp17/string_view.hpp | 86 - .../msgpack/v1/adaptor/cpp17/vector_byte.hpp | 119 - .../include/msgpack/v1/adaptor/define.hpp | 21 - .../msgpack/v1/adaptor/define_decl.hpp | 23 - .../include/msgpack/v1/adaptor/deque.hpp | 108 - .../v1/adaptor/detail/cpp03_define_array.hpp | 4481 ----- .../detail/cpp03_define_array_decl.hpp | 135 - .../v1/adaptor/detail/cpp03_define_map.hpp | 2753 --- .../adaptor/detail/cpp03_define_map_decl.hpp | 135 - .../v1/adaptor/detail/cpp03_msgpack_tuple.hpp | 14425 ---------------- .../detail/cpp03_msgpack_tuple_decl.hpp | 317 - .../adaptor/detail/cpp11_convert_helper.hpp | 45 - .../v1/adaptor/detail/cpp11_define_array.hpp | 128 - .../detail/cpp11_define_array_decl.hpp | 39 - .../v1/adaptor/detail/cpp11_define_map.hpp | 110 - .../adaptor/detail/cpp11_define_map_decl.hpp | 37 - .../v1/adaptor/detail/cpp11_msgpack_tuple.hpp | 220 - .../detail/cpp11_msgpack_tuple_decl.hpp | 120 - .../include/msgpack/v1/adaptor/ext.hpp | 236 - .../include/msgpack/v1/adaptor/ext_decl.hpp | 38 - .../include/msgpack/v1/adaptor/fixint.hpp | 299 - .../msgpack/v1/adaptor/fixint_decl.hpp | 46 - .../include/msgpack/v1/adaptor/float.hpp | 123 - .../include/msgpack/v1/adaptor/int.hpp | 448 - .../include/msgpack/v1/adaptor/int_decl.hpp | 49 - .../include/msgpack/v1/adaptor/list.hpp | 106 - .../include/msgpack/v1/adaptor/map.hpp | 314 - .../include/msgpack/v1/adaptor/map_decl.hpp | 36 - .../msgpack/v1/adaptor/msgpack_tuple.hpp | 21 - .../msgpack/v1/adaptor/msgpack_tuple_decl.hpp | 21 - .../include/msgpack/v1/adaptor/nil.hpp | 76 - .../include/msgpack/v1/adaptor/nil_decl.hpp | 44 - .../include/msgpack/v1/adaptor/pair.hpp | 83 - .../include/msgpack/v1/adaptor/raw.hpp | 106 - .../include/msgpack/v1/adaptor/raw_decl.hpp | 36 - .../include/msgpack/v1/adaptor/set.hpp | 188 - .../msgpack/v1/adaptor/size_equal_only.hpp | 118 - .../v1/adaptor/size_equal_only_decl.hpp | 52 - .../include/msgpack/v1/adaptor/string.hpp | 87 - .../msgpack/v1/adaptor/tr1/unordered_map.hpp | 171 - .../msgpack/v1/adaptor/tr1/unordered_set.hpp | 165 - .../include/msgpack/v1/adaptor/v4raw.hpp | 105 - .../include/msgpack/v1/adaptor/v4raw_decl.hpp | 34 - .../include/msgpack/v1/adaptor/vector.hpp | 121 - .../msgpack/v1/adaptor/vector_bool.hpp | 90 - .../msgpack/v1/adaptor/vector_char.hpp | 114 - .../v1/adaptor/vector_unsigned_char.hpp | 114 - .../msgpack/include/msgpack/v1/cpp_config.hpp | 139 - .../include/msgpack/v1/cpp_config_decl.hpp | 137 - .../include/msgpack/v1/detail/cpp03_zone.hpp | 664 - .../msgpack/v1/detail/cpp03_zone_decl.hpp | 54 - .../include/msgpack/v1/detail/cpp11_zone.hpp | 366 - .../msgpack/v1/detail/cpp11_zone_decl.hpp | 55 - .../msgpack/include/msgpack/v1/fbuffer.hpp | 60 - .../include/msgpack/v1/fbuffer_decl.hpp | 32 - .../msgpack/include/msgpack/v1/iterator.hpp | 40 - .../include/msgpack/v1/iterator_decl.hpp | 40 - .../msgpack/include/msgpack/v1/meta.hpp | 53 - .../msgpack/include/msgpack/v1/meta_decl.hpp | 57 - .../msgpack/include/msgpack/v1/object.hpp | 1240 -- .../include/msgpack/v1/object_decl.hpp | 122 - .../msgpack/include/msgpack/v1/object_fwd.hpp | 255 - .../include/msgpack/v1/object_fwd_decl.hpp | 78 - .../msgpack/include/msgpack/v1/pack.hpp | 1602 -- .../msgpack/include/msgpack/v1/pack_decl.hpp | 91 - .../include/msgpack/v1/parse_return.hpp | 36 - .../include/msgpack/v1/preprocessor.hpp | 19 - .../msgpack/include/msgpack/v1/sbuffer.hpp | 149 - .../include/msgpack/v1/sbuffer_decl.hpp | 33 - .../msgpack/include/msgpack/v1/unpack.hpp | 1591 -- .../include/msgpack/v1/unpack_decl.hpp | 454 - .../include/msgpack/v1/unpack_exception.hpp | 122 - .../msgpack/include/msgpack/v1/version.hpp | 36 - .../msgpack/include/msgpack/v1/versioning.hpp | 69 - .../msgpack/include/msgpack/v1/vrefbuffer.hpp | 292 - .../include/msgpack/v1/vrefbuffer_decl.hpp | 39 - .../msgpack/include/msgpack/v1/zbuffer.hpp | 159 - .../include/msgpack/v1/zbuffer_decl.hpp | 37 - .../msgpack/include/msgpack/v1/zone.hpp | 21 - .../msgpack/include/msgpack/v1/zone_decl.hpp | 21 - .../msgpack/v2/adaptor/adaptor_base.hpp | 58 - .../msgpack/v2/adaptor/adaptor_base_decl.hpp | 52 - .../msgpack/v2/adaptor/array_ref_decl.hpp | 36 - .../v2/adaptor/boost/msgpack_variant_decl.hpp | 42 - .../v2/adaptor/check_container_size_decl.hpp | 39 - .../msgpack/v2/adaptor/define_decl.hpp | 23 - .../detail/cpp03_define_array_decl.hpp | 31 - .../adaptor/detail/cpp03_define_map_decl.hpp | 31 - .../detail/cpp03_msgpack_tuple_decl.hpp | 43 - .../detail/cpp11_define_array_decl.hpp | 32 - .../adaptor/detail/cpp11_define_map_decl.hpp | 31 - .../detail/cpp11_msgpack_tuple_decl.hpp | 59 - .../include/msgpack/v2/adaptor/ext_decl.hpp | 34 - .../msgpack/v2/adaptor/fixint_decl.hpp | 43 - .../include/msgpack/v2/adaptor/int_decl.hpp | 54 - .../include/msgpack/v2/adaptor/map_decl.hpp | 33 - .../msgpack/v2/adaptor/msgpack_tuple_decl.hpp | 21 - .../include/msgpack/v2/adaptor/nil_decl.hpp | 42 - .../include/msgpack/v2/adaptor/raw_decl.hpp | 33 - .../v2/adaptor/size_equal_only_decl.hpp | 35 - .../include/msgpack/v2/adaptor/v4raw_decl.hpp | 34 - .../include/msgpack/v2/cpp_config_decl.hpp | 84 - .../msgpack/v2/create_object_visitor.hpp | 250 - .../msgpack/v2/create_object_visitor_decl.hpp | 33 - .../msgpack/v2/detail/cpp03_zone_decl.hpp | 31 - .../msgpack/v2/detail/cpp11_zone_decl.hpp | 31 - .../include/msgpack/v2/fbuffer_decl.hpp | 32 - .../include/msgpack/v2/iterator_decl.hpp | 33 - .../msgpack/include/msgpack/v2/meta_decl.hpp | 50 - .../include/msgpack/v2/null_visitor.hpp | 96 - .../include/msgpack/v2/null_visitor_decl.hpp | 29 - .../msgpack/include/msgpack/v2/object.hpp | 33 - .../include/msgpack/v2/object_decl.hpp | 53 - .../msgpack/include/msgpack/v2/object_fwd.hpp | 109 - .../include/msgpack/v2/object_fwd_decl.hpp | 75 - .../msgpack/include/msgpack/v2/pack_decl.hpp | 56 - .../msgpack/include/msgpack/v2/parse.hpp | 1072 -- .../msgpack/include/msgpack/v2/parse_decl.hpp | 79 - .../include/msgpack/v2/parse_return.hpp | 37 - .../include/msgpack/v2/sbuffer_decl.hpp | 33 - .../msgpack/include/msgpack/v2/unpack.hpp | 348 - .../include/msgpack/v2/unpack_decl.hpp | 312 - .../include/msgpack/v2/vrefbuffer_decl.hpp | 29 - .../msgpack/include/msgpack/v2/x3_parse.hpp | 873 - .../include/msgpack/v2/x3_parse_decl.hpp | 36 - .../msgpack/include/msgpack/v2/x3_unpack.hpp | 120 - .../include/msgpack/v2/x3_unpack_decl.hpp | 71 - .../include/msgpack/v2/zbuffer_decl.hpp | 29 - .../msgpack/include/msgpack/v2/zone_decl.hpp | 21 - .../msgpack/v3/adaptor/adaptor_base.hpp | 58 - .../msgpack/v3/adaptor/adaptor_base_decl.hpp | 52 - .../msgpack/v3/adaptor/array_ref_decl.hpp | 36 - .../v3/adaptor/boost/msgpack_variant_decl.hpp | 42 - .../v3/adaptor/check_container_size_decl.hpp | 39 - .../msgpack/v3/adaptor/define_decl.hpp | 23 - .../detail/cpp03_define_array_decl.hpp | 31 - .../adaptor/detail/cpp03_define_map_decl.hpp | 31 - .../detail/cpp03_msgpack_tuple_decl.hpp | 43 - .../detail/cpp11_define_array_decl.hpp | 32 - .../adaptor/detail/cpp11_define_map_decl.hpp | 31 - .../detail/cpp11_msgpack_tuple_decl.hpp | 59 - .../include/msgpack/v3/adaptor/ext_decl.hpp | 34 - .../msgpack/v3/adaptor/fixint_decl.hpp | 43 - .../include/msgpack/v3/adaptor/int_decl.hpp | 54 - .../include/msgpack/v3/adaptor/map_decl.hpp | 33 - .../msgpack/v3/adaptor/msgpack_tuple_decl.hpp | 21 - .../include/msgpack/v3/adaptor/nil_decl.hpp | 42 - .../include/msgpack/v3/adaptor/raw_decl.hpp | 33 - .../v3/adaptor/size_equal_only_decl.hpp | 35 - .../include/msgpack/v3/adaptor/v4raw_decl.hpp | 34 - .../include/msgpack/v3/cpp_config_decl.hpp | 84 - .../msgpack/v3/create_object_visitor_decl.hpp | 33 - .../msgpack/v3/detail/cpp03_zone_decl.hpp | 31 - .../msgpack/v3/detail/cpp11_zone_decl.hpp | 31 - .../include/msgpack/v3/fbuffer_decl.hpp | 32 - .../include/msgpack/v3/iterator_decl.hpp | 33 - .../msgpack/include/msgpack/v3/meta_decl.hpp | 50 - .../include/msgpack/v3/null_visitor_decl.hpp | 29 - .../include/msgpack/v3/object_decl.hpp | 53 - .../msgpack/include/msgpack/v3/object_fwd.hpp | 70 - .../include/msgpack/v3/object_fwd_decl.hpp | 75 - .../msgpack/include/msgpack/v3/pack_decl.hpp | 55 - .../msgpack/include/msgpack/v3/parse.hpp | 677 - .../msgpack/include/msgpack/v3/parse_decl.hpp | 49 - .../include/msgpack/v3/parse_return.hpp | 35 - .../include/msgpack/v3/sbuffer_decl.hpp | 33 - .../msgpack/include/msgpack/v3/unpack.hpp | 192 - .../include/msgpack/v3/unpack_decl.hpp | 304 - .../include/msgpack/v3/vrefbuffer_decl.hpp | 29 - .../include/msgpack/v3/x3_parse_decl.hpp | 34 - .../msgpack/include/msgpack/v3/x3_unpack.hpp | 97 - .../include/msgpack/v3/x3_unpack_decl.hpp | 65 - .../include/msgpack/v3/zbuffer_decl.hpp | 29 - .../msgpack/include/msgpack/v3/zone_decl.hpp | 21 - third_party/msgpack/include/msgpack/version.h | 38 - .../msgpack/include/msgpack/version.hpp | 36 - .../msgpack/include/msgpack/version_master.h | 3 - .../msgpack/include/msgpack/versioning.hpp | 71 - .../msgpack/include/msgpack/vrefbuffer.h | 140 - .../msgpack/include/msgpack/vrefbuffer.hpp | 17 - .../include/msgpack/vrefbuffer_decl.hpp | 17 - .../msgpack/include/msgpack/x3_parse.hpp | 15 - .../msgpack/include/msgpack/x3_parse_decl.hpp | 16 - .../msgpack/include/msgpack/x3_unpack.hpp | 16 - .../include/msgpack/x3_unpack_decl.hpp | 16 - third_party/msgpack/include/msgpack/zbuffer.h | 200 - .../msgpack/include/msgpack/zbuffer.hpp | 17 - .../msgpack/include/msgpack/zbuffer_decl.hpp | 17 - third_party/msgpack/include/msgpack/zone.h | 163 - third_party/msgpack/include/msgpack/zone.hpp | 17 - .../msgpack/include/msgpack/zone_decl.hpp | 17 - third_party/msgpack/moz.build | 27 - third_party/msgpack/src/objectc.c | 547 - third_party/msgpack/src/unpack.c | 676 - third_party/msgpack/src/version.c | 22 - third_party/msgpack/src/vrefbuffer.c | 232 - third_party/msgpack/src/zone.c | 222 - third_party/msgpack/update.sh | 30 - third_party/prio/README-mozilla | 17 - third_party/prio/include/mprio.h | 304 - third_party/prio/moz.build | 43 - third_party/prio/prio/SConscript | 26 - third_party/prio/prio/client.c | 362 - third_party/prio/prio/client.h | 77 - third_party/prio/prio/config.c | 113 - third_party/prio/prio/config.h | 34 - third_party/prio/prio/debug.h | 23 - third_party/prio/prio/encrypt.c | 566 - third_party/prio/prio/encrypt.h | 68 - third_party/prio/prio/mparray.c | 198 - third_party/prio/prio/mparray.h | 70 - third_party/prio/prio/params.h | 22 - third_party/prio/prio/poly.c | 211 - third_party/prio/prio/poly.h | 56 - third_party/prio/prio/prg.c | 189 - third_party/prio/prio/prg.h | 67 - third_party/prio/prio/rand.c | 137 - third_party/prio/prio/rand.h | 54 - third_party/prio/prio/serial.c | 455 - third_party/prio/prio/serial.h | 21 - third_party/prio/prio/server.c | 509 - third_party/prio/prio/server.h | 64 - third_party/prio/prio/share.c | 106 - third_party/prio/prio/share.h | 47 - third_party/prio/prio/util.h | 109 - third_party/prio/update.sh | 30 - {db => third_party}/sqlite3/README | 0 {db => third_party}/sqlite3/README.MOZILLA | 0 {db => third_party}/sqlite3/src/moz.build | 5 - .../sqlite3/src/sqlite.symbols | 0 {db => third_party}/sqlite3/src/sqlite3.c | 7129 ++++---- {db => third_party}/sqlite3/src/sqlite3.h | 53 +- toolkit/actors/PrintingChild.jsm | 3 + .../components/alerts/AlertNotification.cpp | 28 +- toolkit/components/alerts/AlertNotification.h | 2 +- toolkit/components/alerts/nsXULAlerts.cpp | 2 +- toolkit/components/alerts/nsXULAlerts.h | 6 +- .../alerts/resources/content/alert.js | 13 + .../antitracking/AntiTrackingCommon.cpp | 277 +- .../antitracking/AntiTrackingCommon.h | 3 +- toolkit/components/antitracking/moz.build | 1 + .../test/browser/3rdPartyRelay.html | 41 + .../antitracking/test/browser/3rdPartyUI.html | 2 +- .../test/browser/antitracking_head.js | 1 + .../antitracking/test/browser/browser.ini | 1 + .../browser_partitionedLocalStorage_events.js | 27 +- .../browser_storageAccessWithHeuristics.js | 317 + .../antitracking/test/browser/head.js | 2 + .../nsAutoCompleteSimpleResult.cpp | 6 +- .../autocomplete/nsAutoCompleteSimpleResult.h | 2 +- .../BackgroundHangMonitor.cpp | 2 +- .../bitsdownload/src/bits_interface/mod.rs | 2 +- toolkit/components/browser/moz.build | 2 + .../browser/nsIPrintingPromptService.idl | 5 +- .../components/browser/nsIWebBrowserPrint.idl | 7 - toolkit/components/browser/nsWebBrowser.cpp | 58 +- toolkit/components/browser/nsWebBrowser.h | 6 - .../browser/nsWebBrowserContentPolicy.cpp | 4 +- .../captivedetect/CaptiveDetect.jsm | 2 +- .../components/cleardata/ClearDataService.jsm | 27 +- .../cleardata/tests/unit/test_permissions.js | 38 - .../clearsitedata/ClearSiteData.cpp | 5 +- .../extensions/ExtensionPolicyService.cpp | 6 +- toolkit/components/extensions/MatchGlob.h | 2 +- .../extensions/parent/ext-downloads.js | 2 +- .../xpcshell/test_ext_trustworthy_origin.js | 5 +- .../extensions/webrequest/StreamFilter.cpp | 2 +- .../extensions/webrequest/StreamFilterChild.h | 2 +- .../FinalizationWitnessService.h | 2 +- toolkit/components/find/nsFind.cpp | 47 +- toolkit/components/find/nsWebBrowserFind.cpp | 19 +- toolkit/components/find/nsWebBrowserFind.h | 3 +- toolkit/components/fuzzyfox/Fuzzyfox.cpp | 21 +- toolkit/components/fuzzyfox/Fuzzyfox.h | 3 - toolkit/components/kvstore/Cargo.toml | 3 +- toolkit/components/kvstore/src/lib.rs | 106 +- toolkit/components/kvstore/src/manager.rs | 22 +- toolkit/components/kvstore/src/task.rs | 37 +- .../kvstore/test/xpcshell/make-test-env.js | 8 +- .../kvstore/test/xpcshell/test_kvstore.js | 11 +- .../components/osfile/NativeOSFileInternals.h | 2 +- .../passwordmgr/InsecurePasswordUtils.jsm | 2 +- .../components/passwordmgr/LoginHelper.jsm | 4 +- .../components/passwordmgr/storage-json.js | 2 +- .../passwordmgr/storage-mozStorage.js | 2 +- .../components/places/BookmarkHTMLUtils.jsm | 15 - toolkit/components/places/Bookmarks.jsm | 160 +- toolkit/components/places/Database.cpp | 39 +- toolkit/components/places/FaviconHelpers.h | 2 +- toolkit/components/places/Helpers.cpp | 14 +- toolkit/components/places/Helpers.h | 8 +- toolkit/components/places/History.cpp | 3 +- .../places/INativePlacesEventCallback.h | 2 +- .../places/PageIconProtocolHandler.cpp | 247 + .../places/PageIconProtocolHandler.h | 43 + .../places/PageIconProtocolHandler.jsm | 141 - toolkit/components/places/PlaceInfo.h | 2 +- .../components/places/PlacesTransactions.jsm | 28 +- toolkit/components/places/PlacesUtils.jsm | 101 +- toolkit/components/places/SQLFunctions.h | 32 +- toolkit/components/places/Shutdown.h | 6 +- toolkit/components/places/UnifiedComplete.jsm | 27 +- toolkit/components/places/VisitInfo.cpp | 2 +- .../places/bookmark_sync/src/driver.rs | 2 +- .../places/bookmark_sync/src/merger.rs | 2 +- toolkit/components/places/components.conf | 5 +- toolkit/components/places/moz.build | 3 +- .../places/nsAnnoProtocolHandler.cpp | 2 +- .../components/places/nsAnnoProtocolHandler.h | 4 +- .../components/places/nsAnnotationService.cpp | 64 - .../components/places/nsFaviconService.cpp | 2 +- .../places/nsIAnnotationService.idl | 22 - toolkit/components/places/nsNavBookmarks.cpp | 4 +- .../components/places/nsNavHistoryQuery.cpp | 18 +- toolkit/components/places/nsNavHistoryQuery.h | 10 +- .../components/places/nsNavHistoryResult.cpp | 6 +- .../components/places/nsNavHistoryResult.h | 4 +- .../bookmarks/test_bookmarks_notifications.js | 2 +- .../tests/bookmarks/test_bookmarks_remove.js | 162 +- .../places/tests/gtest/places_test_harness.h | 6 +- .../queries/test_containersQueries_sorting.js | 1 + .../components/places/tests/sync/head_sync.js | 10 - .../places/tests/unifiedcomplete/xpcshell.ini | 3 +- .../places/tests/unit/test_annotations.js | 49 - .../tests/unit/test_async_transactions.js | 68 +- .../test_bookmarks_html_escape_entities.js | 13 +- .../unit/test_import_mobile_bookmarks.js | 3 - .../tests/unit/test_promiseBookmarksTree.js | 7 - .../components/printing/content/printUtils.js | 1 - .../printingui/ipc/PrintDataUtils.cpp | 98 - .../printingui/ipc/PrintDataUtils.h | 36 - .../ipc/PrintProgressDialogParent.cpp | 2 +- .../printingui/ipc/PrintingParent.cpp | 17 +- toolkit/components/printingui/ipc/moz.build | 1 - .../printingui/ipc/nsPrintingProxy.cpp | 17 +- .../printingui/nsPrintProgressParams.cpp | 4 +- .../printingui/nsPrintingPromptService.cpp | 10 +- .../prompts/test/test_bug620145.html | 2 +- .../test/test_subresources_prompts.html | 2 +- toolkit/components/reader/ReaderMode.jsm | 2 +- toolkit/components/remote/nsRemoteClient.h | 2 +- .../resistfingerprinting/RFPHelper.jsm | 1 + .../resistfingerprinting/RelativeTimeline.cpp | 2 +- .../satchel/nsFormFillController.cpp | 10 +- .../satchel/test/test_form_autocomplete.html | 66 +- .../test_form_autocomplete_with_list.html | 65 +- ...t_input_valid_state_with_autocomplete.html | 60 + .../test/test_submit_on_keydown_enter.html | 39 +- .../sessionstore/SessionStoreListener.cpp | 1 + .../sessionstore/SessionStoreUtils.cpp | 2 +- toolkit/components/startup/nsAppStartup.h | 2 +- toolkit/components/telemetry/Events.yaml | 69 - toolkit/components/telemetry/Histograms.json | 12 - toolkit/components/telemetry/Scalars.yaml | 230 - .../telemetry/app/TelemetryController.jsm | 3 - .../telemetry/app/TelemetryScheduler.jsm | 5 - .../telemetry/app/TelemetryUtils.jsm | 4 - .../telemetry/core/TelemetryHistogram.cpp | 12 +- .../telemetry/core/TelemetryOrigin.cpp | 228 +- .../telemetry/docs/data/prio-ping.rst | 79 - .../docs/internals/mentored-bugs.rst | 2 +- .../telemetry/histogram-whitelists.json | 4 - toolkit/components/telemetry/moz.build | 1 - .../components/telemetry/pings/PrioPing.jsm | 156 - .../telemetry/tests/unit/test_PrioPing.js | 140 - .../telemetry/tests/unit/xpcshell.ini | 1 - toolkit/components/terminator/nsTerminator.h | 2 +- .../thumbnails/PageThumbsProtocol.h | 2 +- .../timermanager/UpdateTimerManager.jsm | 1 + .../typeaheadfind/nsTypeAheadFind.cpp | 39 +- toolkit/components/url-classifier/ChunkSet.h | 8 + .../components/url-classifier/HashStore.cpp | 3 +- toolkit/components/url-classifier/HashStore.h | 2 +- .../url-classifier/ProtocolParser.cpp | 8 +- .../nsCheckSummedOutputStream.h | 2 +- .../nsUrlClassifierDBService.cpp | 7 +- .../url-classifier/nsUrlClassifierInfo.cpp | 2 +- .../url-classifier/nsUrlClassifierInfo.h | 6 +- .../url-classifier/nsUrlClassifierProxies.h | 8 +- .../nsUrlClassifierStreamUpdater.h | 2 +- .../tests/gtest/TestChunkSet.cpp | 2 +- .../tests/gtest/TestFindFullHash.cpp | 2 +- .../test_allowlisted_annotations.html | 3 +- .../windowwatcher/nsWindowWatcher.cpp | 14 +- toolkit/components/xulstore/Cargo.toml | 2 +- toolkit/components/xulstore/src/persist.rs | 2 +- toolkit/content/contentAreaUtils.js | 7 +- toolkit/content/minimal-xul.css | 104 +- toolkit/content/tests/browser/browser.ini | 18 +- .../browser/browser_block_autoplay_media.js | 139 - .../browser/browser_delay_autoplay_media.js | 145 + ...r_delay_autoplay_media_pausedAfterPlay.js} | 59 +- ...> browser_delay_autoplay_multipleMedia.js} | 77 +- ... browser_delay_autoplay_notInTreeAudio.js} | 27 - ...ser_delay_autoplay_playAfterTabVisible.js} | 26 +- ...wser_delay_autoplay_playMediaInMuteTab.js} | 44 +- ...In.js => browser_delay_autoplay_plugIn.js} | 0 ..._delay_autoplay_silentAudioTrack_media.js} | 48 - ....js => browser_delay_autoplay_webAudio.js} | 0 toolkit/content/tests/chrome/chrome.ini | 1 - .../chrome/file_editor_with_autocomplete.js | 136 +- ...st_editor_for_input_with_autocomplete.html | 4 + .../tests/chrome/window_browser_drop.xul | 2 +- .../widgets/autocomplete-richlistitem.js | 2 +- .../content/widgets/browser-custom-element.js | 1 + toolkit/content/widgets/editor.js | 11 +- toolkit/content/widgets/marquee.css | 4 +- toolkit/crashreporter/ThreadAnnotation.cpp | 4 +- toolkit/library/gtest/rust/Cargo.toml | 1 + toolkit/library/rust/Cargo.toml | 1 + toolkit/library/rust/gkrust-features.mozbuild | 3 + toolkit/library/rust/shared/Cargo.toml | 5 +- toolkit/library/rust/shared/lib.rs | 1 + .../mozapps/extensions/extensions.properties | 3 - .../en-US/crashreporter/aboutcrashes.ftl | 4 +- toolkit/modules/E10SUtils.jsm | 16 +- toolkit/modules/Finder.jsm | 11 +- toolkit/modules/FinderHighlighter.jsm | 1 - toolkit/modules/InlineSpellChecker.jsm | 5 +- toolkit/modules/InlineSpellCheckerContent.jsm | 5 +- toolkit/modules/PopupNotifications.jsm | 2 +- toolkit/modules/moz.build | 4 +- .../mozapps/extensions/AddonContentPolicy.cpp | 4 +- .../extensions/AddonManagerStartup.cpp | 2 +- .../mozapps/extensions/content/extensions.css | 4 - .../mozapps/extensions/content/extensions.js | 24 - .../mozapps/extensions/content/extensions.xul | 5 - .../extensions/internal/XPIInstall.jsm | 1 + .../mozapps/extensions/test/browser/head.js | 2 +- .../mozapps/update/updater/archivereader.h | 2 +- toolkit/profile/content/profileSelection.js | 1 + toolkit/profile/nsProfileLock.h | 2 +- toolkit/system/gnome/nsGIOService.cpp | 6 +- toolkit/system/gnome/nsGIOService.h | 2 +- toolkit/system/osxproxy/ProxyUtils.mm | 11 +- toolkit/system/windowsproxy/ProxyUtils.cpp | 11 +- toolkit/themes/linux/global/dropmarker.css | 2 +- toolkit/themes/linux/global/textbox.css | 1 + toolkit/themes/mobile/global/scrollbars.css | 83 + toolkit/themes/mobile/jar.mn | 2 +- toolkit/themes/osx/global/dropmarker.css | 2 +- toolkit/themes/osx/global/textbox.css | 1 + .../shared/extensions/extensions.inc.css | 18 - toolkit/themes/shared/findBar.inc.css | 1 + .../themes/shared/in-content/common.inc.css | 1 + toolkit/themes/shared/media/videocontrols.css | 9 +- toolkit/themes/shared/numberinput.css | 17 - toolkit/themes/windows/global/dropmarker.css | 2 +- toolkit/themes/windows/global/textbox.css | 1 + toolkit/xre/Bootstrap.cpp | 4 +- toolkit/xre/nsAppRunner.cpp | 4 +- toolkit/xre/nsNativeAppSupportBase.cpp | 4 +- toolkit/xre/nsUpdateDriver.cpp | 2 +- tools/clang-tidy/config.yaml | 3 - tools/clang-tidy/docs/summary.rst | 114 + tools/docs/conf.py | 2 + .../contribute/how_to_contribute_firefox.rst | 205 + tools/fuzzing/common/FuzzingTraits.h | 13 +- tools/fuzzing/faulty/Faulty.cpp | 6 +- tools/lint/cpp/mingw-capitalization.py | 2 + .../docs/coding-style/coding_style_cpp.rst | 862 + .../coding-style/coding_style_general.rst | 18 + .../docs/coding-style/coding_style_java.rst | 68 + .../docs/coding-style/coding_style_js.rst | 141 + .../docs/coding-style/coding_style_other.rst | 10 + .../docs/coding-style/coding_style_python.rst | 65 + .../format_cpp_code_with_clang-format.rst | 271 + tools/lint/docs/conf.py | 12 +- tools/lint/docs/create.rst | 103 +- tools/lint/docs/index.rst | 28 +- tools/lint/docs/linters/codespell.rst | 36 + tools/lint/docs/linters/cpp-virtual-final.rst | 29 + tools/lint/docs/linters/eslint.rst | 12 + tools/lint/docs/linters/file-perm.rst | 38 + tools/lint/docs/linters/file-whitespace.rst | 32 + tools/lint/docs/linters/flake8.rst | 15 + tools/lint/docs/linters/l10n.rst | 6 + tools/lint/docs/linters/license.rst | 39 + tools/lint/docs/linters/lintpref.rst | 31 + .../docs/linters/mingw-capitalization.rst | 28 + tools/lint/docs/linters/rstlinter.rst | 32 + tools/lint/docs/usage.rst | 6 + .../lib/environments/privileged.js | 1 - tools/lint/eslint/setup_helper.py | 2 + tools/lint/hooks.py | 2 + tools/lint/hooks_clang_format.py | 2 + tools/lint/libpref/__init__.py | 79 + tools/lint/lintpref.yml | 11 + tools/lint/rst.yml | 17 + tools/lint/rst/__init__.py | 102 + tools/lint/rst/requirements.txt | 6 + tools/lint/test/conftest.py | 2 + tools/lint/test/test_eslint.py | 2 + tools/lint/test/test_flake8.py | 2 + tools/profiler/core/memory_hooks.cpp | 28 +- .../profiler/core/platform-linux-android.cpp | 2 +- tools/profiler/rust-helper/Cargo.toml | 6 +- tools/rewriting/ThirdPartyPaths.txt | 4 +- uriloader/base/nsDocLoader.h | 4 +- uriloader/base/nsIURIContentListener.idl | 13 +- uriloader/base/nsURILoader.cpp | 25 +- uriloader/exthandler/HandlerServiceParent.cpp | 10 +- .../exthandler/android/nsMIMEInfoAndroid.cpp | 52 +- .../exthandler/android/nsMIMEInfoAndroid.h | 5 + .../exthandler/nsExternalHelperAppService.cpp | 3 +- uriloader/exthandler/nsMIMEInfoImpl.cpp | 70 +- uriloader/exthandler/nsMIMEInfoImpl.h | 5 + .../exthandler/tests/mochitest/browser.ini | 6 + .../mochitest/browser_download_urlescape.js | 75 + .../tests/mochitest/file_with@@funny_name.png | Bin 0 -> 1991 bytes .../file_with@@funny_name.png^headers^ | 2 + .../tests/mochitest/file_with[funny_name.webm | Bin 0 -> 512 bytes .../file_with[funny_name.webm^headers^ | 2 + .../tests/unit/test_handlerService_store.js | 26 +- view/nsView.cpp | 2 +- widget/BasicEvents.h | 27 +- widget/CompositorWidget.cpp | 2 +- widget/ContentCache.cpp | 4 +- widget/EventForwards.h | 159 + widget/EventMessageList.h | 1 + widget/IMEData.h | 3 + widget/InputData.cpp | 12 +- widget/InputData.h | 5 +- widget/LookAndFeel.h | 211 +- widget/MouseEvents.h | 29 +- widget/PuppetBidiKeyboard.cpp | 2 +- widget/PuppetWidget.cpp | 18 +- widget/PuppetWidget.h | 2 +- widget/Screen.h | 2 +- widget/ScreenManager.h | 2 +- widget/SystemTimeConverter.h | 3 +- widget/TextEventDispatcher.h | 2 +- widget/TextEvents.h | 10 +- widget/TextRange.h | 41 +- widget/TouchEvents.h | 4 +- widget/VsyncDispatcher.h | 4 +- widget/WidgetEventImpl.cpp | 83 +- widget/WidgetMessageUtils.h | 4 +- widget/WindowSurface.h | 2 +- widget/android/AndroidBridge.cpp | 29 - widget/android/AndroidBridge.h | 2 - widget/android/GeckoEditableSupport.cpp | 9 +- widget/android/nsClipboard.cpp | 6 +- widget/android/nsLookAndFeel.cpp | 165 +- widget/android/nsLookAndFeel.h | 3 - widget/android/nsWindow.cpp | 4 - widget/cocoa/nsChildView.h | 2 +- widget/cocoa/nsChildView.mm | 9 +- widget/cocoa/nsClipboard.mm | 20 +- widget/cocoa/nsCocoaUtils.mm | 3 +- widget/cocoa/nsCocoaWindow.h | 2 +- widget/cocoa/nsCocoaWindow.mm | 7 +- widget/cocoa/nsDeviceContextSpecX.mm | 16 - widget/cocoa/nsLookAndFeel.mm | 125 +- widget/cocoa/nsNativeThemeCocoa.mm | 75 +- widget/cocoa/nsPrintDialogX.h | 3 +- widget/cocoa/nsPrintDialogX.mm | 10 +- widget/cocoa/nsPrintSettingsServiceX.h | 8 +- widget/cocoa/nsPrintSettingsServiceX.mm | 30 +- widget/gtk/IMContextWrapper.cpp | 66 +- widget/gtk/compat-gtk3/gtk/gtkenums.h | 12 + widget/gtk/nsApplicationChooser.cpp | 4 +- widget/gtk/nsBidiKeyboard.cpp | 2 +- widget/gtk/nsClipboard.cpp | 19 +- widget/gtk/nsClipboard.h | 2 +- widget/gtk/nsColorPicker.h | 4 +- widget/gtk/nsDeviceContextSpecG.cpp | 4 +- widget/gtk/nsDeviceContextSpecG.h | 2 +- widget/gtk/nsDragService.cpp | 3 + widget/gtk/nsFilePicker.cpp | 2 +- widget/gtk/nsImageToPixbuf.cpp | 3 +- widget/gtk/nsImageToPixbuf.h | 2 +- widget/gtk/nsLookAndFeel.cpp | 151 +- widget/gtk/nsNativeThemeGTK.cpp | 82 +- widget/gtk/nsPrintDialogGTK.cpp | 7 +- widget/gtk/nsPrintDialogGTK.h | 4 +- widget/gtk/nsPrintSettingsServiceGTK.cpp | 4 +- widget/gtk/nsPrintSettingsServiceGTK.h | 4 +- widget/gtk/nsSound.cpp | 2 +- widget/gtk/nsWindow.cpp | 11 +- widget/gtk/nsWindow.h | 2 +- widget/headless/HeadlessClipboard.cpp | 16 +- widget/headless/HeadlessClipboard.h | 2 +- widget/headless/HeadlessLookAndFeelGTK.cpp | 126 +- widget/headless/HeadlessScreenHelper.h | 2 +- widget/headless/HeadlessSound.cpp | 4 +- widget/headless/HeadlessThemeGTK.cpp | 43 +- widget/headless/HeadlessThemeGTK.h | 2 +- widget/headless/HeadlessWidget.cpp | 7 +- widget/headless/HeadlessWidget.h | 2 +- widget/nsBaseAppShell.cpp | 2 +- widget/nsBaseClipboard.cpp | 3 +- widget/nsBaseDragService.cpp | 122 +- widget/nsBaseDragService.h | 5 + widget/nsBaseFilePicker.cpp | 2 +- widget/nsBaseScreen.cpp | 4 +- widget/nsBaseWidget.cpp | 19 +- widget/nsClipboardHelper.cpp | 2 +- widget/nsClipboardProxy.cpp | 13 +- widget/nsClipboardProxy.h | 2 +- widget/nsColorPickerProxy.h | 4 +- widget/nsDeviceContextSpecProxy.h | 2 +- widget/nsDragServiceProxy.cpp | 8 +- widget/nsGUIEventIPC.h | 22 +- widget/nsHTMLFormatConverter.cpp | 4 +- widget/nsIClipboard.idl | 14 +- widget/nsIDragService.idl | 16 +- widget/nsIDragSession.idl | 21 +- widget/nsIPrintDialogService.h | 6 +- widget/nsIPrintSettingsService.idl | 5 +- widget/nsIWidget.h | 2 +- widget/nsIdleService.cpp | 6 +- widget/nsIdleService.h | 2 +- widget/nsNativeTheme.cpp | 23 +- widget/nsNativeTheme.h | 2 +- widget/nsPrintSession.cpp | 4 +- widget/nsPrintSettingsImpl.cpp | 2 +- widget/nsPrintSettingsService.cpp | 2 - widget/nsPrintSettingsService.h | 4 +- widget/nsTransferable.cpp | 2 +- widget/nsXPLookAndFeel.cpp | 94 +- widget/tests/chrome.ini | 2 +- widget/tests/test_bug444800.xul | 2 +- widget/tests/test_bug565392.html | 2 +- widget/tests/test_imestate.html | 9 +- widget/tests/test_position_on_resize.xul | 2 +- .../window_composition_text_querycontent.xul | 1029 +- widget/tests/window_imestate_iframes.html | 3 +- widget/uikit/nsLookAndFeel.mm | 68 +- widget/windows/GfxInfo.cpp | 5 +- widget/windows/TSFTextStore.cpp | 12 +- widget/windows/TaskbarPreviewButton.cpp | 2 +- widget/windows/TaskbarTabPreview.cpp | 4 +- widget/windows/TaskbarWindowPreview.cpp | 2 +- widget/windows/ToastNotification.cpp | 2 +- widget/windows/ToastNotificationHandler.cpp | 3 +- widget/windows/WinUtils.cpp | 3 +- widget/windows/WindowHook.cpp | 3 +- widget/windows/nsClipboard.cpp | 18 +- widget/windows/nsClipboard.h | 2 +- widget/windows/nsLookAndFeel.cpp | 159 +- widget/windows/nsLookAndFeel.h | 4 +- widget/windows/nsNativeThemeWin.cpp | 119 +- widget/windows/nsNativeThemeWin.h | 2 + widget/windows/nsPrintDialogUtil.cpp | 23 +- widget/windows/nsPrintDialogUtil.h | 3 +- widget/windows/nsPrintDialogWin.cpp | 5 +- widget/windows/nsPrintDialogWin.h | 4 +- widget/windows/nsPrintSettingsServiceWin.cpp | 12 +- widget/windows/nsPrintSettingsServiceWin.h | 3 +- widget/windows/nsWindow.cpp | 34 +- widget/windows/nsWindowGfx.cpp | 17 +- widget/windows/nsWindowGfx.h | 7 +- xpcom/base/CycleCollectedJSContext.cpp | 6 +- xpcom/base/CycleCollectedJSRuntime.cpp | 1 + xpcom/base/ErrorList.py | 1 - xpcom/base/JSObjectHolder.h | 2 +- xpcom/base/LogModulePrefWatcher.cpp | 2 +- xpcom/base/LogModulePrefWatcher.h | 2 +- xpcom/base/Logging.h | 2 +- xpcom/base/MemoryReportingProcess.h | 2 +- xpcom/base/MemoryTelemetry.h | 2 +- xpcom/base/OwningNonNull.h | 66 +- xpcom/base/StaticMonitor.h | 8 +- xpcom/base/nsAutoPtr.h | 5 +- xpcom/base/nsAutoRef.h | 10 +- xpcom/base/nsConsoleMessage.h | 2 +- xpcom/base/nsCycleCollector.cpp | 10 +- xpcom/base/nsDebug.h | 6 +- xpcom/base/nsDumpUtils.cpp | 2 +- xpcom/base/nsGZFileWriter.h | 15 +- xpcom/base/nsIGZFileWriter.idl | 4 +- xpcom/base/nsIMemoryReporter.idl | 20 +- xpcom/base/nsINIParser.h | 2 +- xpcom/base/nsISupportsImpl.h | 129 +- xpcom/base/nsMemoryImpl.cpp | 10 +- xpcom/base/nsMemoryImpl.h | 2 +- xpcom/base/nsMemoryInfoDumper.cpp | 10 +- xpcom/base/nsMemoryReporterManager.cpp | 91 +- xpcom/base/nsMemoryReporterManager.h | 12 +- xpcom/base/nsMessageLoop.cpp | 4 +- xpcom/base/nsMessageLoop.h | 2 +- xpcom/base/nsSecurityConsoleMessage.cpp | 4 +- xpcom/base/nsTraceRefcnt.cpp | 7 + xpcom/base/nsTraceRefcnt.h | 3 + xpcom/base/nsUUIDGenerator.cpp | 2 +- xpcom/base/nsVersionComparatorImpl.h | 2 +- xpcom/build/FileLocation.cpp | 5 +- xpcom/build/IOInterposer.cpp | 4 +- xpcom/build/IOInterposer.h | 4 +- xpcom/build/XREAppData.h | 4 +- xpcom/components/nsComponentManager.h | 4 +- xpcom/ds/ArrayIterator.h | 3 +- xpcom/ds/IncrementalTokenizer.h | 3 +- xpcom/ds/Observer.h | 2 +- xpcom/ds/PLDHashTable.h | 6 +- xpcom/ds/PerfectHash.h | 8 +- xpcom/ds/StaticAtoms.py | 11 +- xpcom/ds/Tokenizer.h | 65 +- xpcom/ds/nsArray.h | 6 +- xpcom/ds/nsBaseHashtable.h | 38 +- xpcom/ds/nsCOMArray.cpp | 8 +- xpcom/ds/nsCOMArray.h | 6 +- xpcom/ds/nsClassHashtable.h | 37 +- xpcom/ds/nsDataHashtable.h | 2 +- xpcom/ds/nsDeque.h | 6 +- xpcom/ds/nsEnumeratorUtils.cpp | 2 +- xpcom/ds/nsExpirationTracker.h | 8 +- xpcom/ds/nsHashKeys.h | 24 +- xpcom/ds/nsHashPropertyBag.cpp | 2 +- xpcom/ds/nsINIParserImpl.cpp | 2 +- xpcom/ds/nsINIParserImpl.h | 2 +- xpcom/ds/nsInterfaceHashtable.h | 6 +- xpcom/ds/nsObserverList.h | 6 +- xpcom/ds/nsObserverService.h | 4 +- xpcom/ds/nsPersistentProperties.cpp | 2 +- xpcom/ds/nsPersistentProperties.h | 4 +- xpcom/ds/nsPointerHashKeys.h | 2 +- xpcom/ds/nsRefPtrHashtable.h | 25 +- xpcom/ds/nsStringEnumerator.h | 18 +- xpcom/ds/nsSupportsPrimitives.h | 34 +- xpcom/ds/nsTArray-inl.h | 122 +- xpcom/ds/nsTArray.h | 1143 +- xpcom/ds/nsTHashtable.h | 35 +- xpcom/ds/nsTObserverArray.h | 4 +- xpcom/ds/nsVariant.h | 92 +- xpcom/ds/nsWindowsRegKey.h | 6 +- xpcom/glue/XREAppData.cpp | 24 +- xpcom/idl-parser/xpidl/xpidl.py | 9 +- xpcom/io/Base64.cpp | 2 +- xpcom/io/Base64.h | 43 +- xpcom/io/FileDescriptorFile.h | 2 +- xpcom/io/NonBlockingAsyncInputStream.cpp | 2 +- xpcom/io/SlicedInputStream.cpp | 2 +- xpcom/io/SnappyFrameUtils.h | 4 +- xpcom/io/nsAppFileLocationProvider.cpp | 2 +- xpcom/io/nsAppFileLocationProvider.h | 2 +- xpcom/io/nsBinaryStream.cpp | 12 + xpcom/io/nsDirectoryService.cpp | 2 +- xpcom/io/nsIOUtil.h | 2 +- xpcom/io/nsIPipe.idl | 4 +- xpcom/io/nsInputStreamTee.cpp | 2 +- xpcom/io/nsLocalFileUnix.h | 2 +- xpcom/io/nsMultiplexInputStream.cpp | 2 +- xpcom/io/nsPipe3.cpp | 4 +- xpcom/io/nsScriptableBase64Encoder.h | 2 +- xpcom/io/nsScriptableInputStream.h | 4 +- xpcom/io/nsStorageStream.cpp | 2 +- xpcom/io/nsStreamUtils.cpp | 6 +- xpcom/io/nsStringStream.cpp | 2 +- xpcom/io/nsUnicharInputStream.cpp | 2 +- xpcom/reflect/xptcall/xptcprivate.h | 2 +- xpcom/reflect/xptinfo/xptinfo.h | 2 +- xpcom/rust/gkrust_utils/Cargo.toml | 2 +- xpcom/rust/moz_task/src/lib.rs | 113 +- xpcom/string/nsReadableUtils.cpp | 11 +- xpcom/string/nsReadableUtils.h | 64 +- xpcom/string/nsTString.h | 12 +- xpcom/string/nsTStringRepr.h | 4 +- xpcom/string/nsTSubstring.h | 119 +- xpcom/string/nsUTF8Utils.h | 5 +- xpcom/tests/gtest/Helpers.cpp | 4 +- xpcom/tests/gtest/TestAtoms.cpp | 2 +- xpcom/tests/gtest/TestAutoPtr.cpp | 6 +- xpcom/tests/gtest/TestAutoRefCnt.cpp | 2 +- xpcom/tests/gtest/TestBase64.cpp | 2 +- xpcom/tests/gtest/TestCOMPtr.cpp | 2 +- xpcom/tests/gtest/TestCallTemplates.cpp | 2 +- xpcom/tests/gtest/TestEventPriorities.cpp | 2 +- xpcom/tests/gtest/TestHashtables.cpp | 83 +- xpcom/tests/gtest/TestMozPromise.cpp | 2 +- .../tests/gtest/TestMultiplexInputStream.cpp | 2 +- xpcom/tests/gtest/TestObserverService.cpp | 2 +- xpcom/tests/gtest/TestPipes.cpp | 6 +- .../tests/gtest/TestRacingServiceManager.cpp | 6 +- xpcom/tests/gtest/TestSlicedInputStream.cpp | 4 +- xpcom/tests/gtest/TestStateWatching.cpp | 2 +- xpcom/tests/gtest/TestStrings.cpp | 36 +- xpcom/tests/gtest/TestTArray.cpp | 429 +- xpcom/tests/gtest/TestTArray2.cpp | 72 +- xpcom/tests/gtest/TestThreadPool.cpp | 2 +- xpcom/tests/gtest/TestThreadPoolListener.cpp | 2 +- xpcom/tests/gtest/TestThreadUtils.cpp | 14 +- xpcom/tests/gtest/TestThreads.cpp | 4 +- xpcom/tests/gtest/TestThrottledEventQueue.cpp | 21 +- xpcom/tests/gtest/TestTimers.cpp | 2 +- xpcom/threads/AbstractEventQueue.h | 2 +- xpcom/threads/AbstractThread.h | 2 +- xpcom/threads/CondVar.h | 14 +- xpcom/threads/InputEventStatistics.h | 2 +- xpcom/threads/MainThreadIdlePeriod.h | 2 +- xpcom/threads/MainThreadQueue.h | 4 +- xpcom/threads/Monitor.h | 8 +- xpcom/threads/MozPromise.h | 20 +- xpcom/threads/Mutex.h | 2 +- xpcom/threads/PerformanceCounter.h | 2 +- xpcom/threads/PrioritizedEventQueue.cpp | 42 +- xpcom/threads/PrioritizedEventQueue.h | 29 +- xpcom/threads/SchedulerGroup.cpp | 2 +- xpcom/threads/SharedThreadPool.cpp | 4 +- xpcom/threads/TaskDispatcher.h | 8 +- xpcom/threads/TaskQueue.cpp | 5 +- xpcom/threads/ThreadEventQueue.cpp | 2 +- xpcom/threads/ThreadEventQueue.h | 5 +- xpcom/threads/ThreadEventTarget.cpp | 2 +- xpcom/threads/ThreadEventTarget.h | 2 +- xpcom/threads/ThrottledEventQueue.h | 2 +- xpcom/threads/nsEnvironment.cpp | 2 +- xpcom/threads/nsICancelableRunnable.h | 4 +- xpcom/threads/nsIIdleRunnable.h | 4 +- xpcom/threads/nsITimer.idl | 12 +- xpcom/threads/nsProcessCommon.cpp | 2 +- xpcom/threads/nsThread.cpp | 6 +- xpcom/threads/nsThread.h | 4 +- xpcom/threads/nsThreadManager.cpp | 105 +- xpcom/threads/nsThreadManager.h | 11 +- xpcom/threads/nsThreadUtils.cpp | 26 +- xpcom/threads/nsThreadUtils.h | 84 +- xpcom/threads/nsTimerImpl.cpp | 10 +- xpfe/appshell/moz.build | 1 + xpfe/appshell/nsContentTreeOwner.cpp | 32 +- xpfe/appshell/nsWindowMediator.cpp | 5 +- xpfe/appshell/nsWindowMediator.h | 2 +- xpfe/appshell/nsXULWindow.cpp | 39 +- xpfe/appshell/nsXULWindow.h | 1 - 2395 files changed, 58512 insertions(+), 146454 deletions(-) create mode 100644 browser/base/content/test/caps/browser_principalSerialization_json.js delete mode 100644 browser/base/content/test/permissions/browser_permissions_event_telemetry.js delete mode 100644 browser/modules/PermissionUITelemetry.jsm create mode 100644 caps/tests/gtest/TestPrincipalSerialization.cpp delete mode 100644 db/moz.build delete mode 100644 docshell/base/nsIScrollable.idl create mode 100644 docshell/test/browser/browser_overlink.js create mode 100644 docshell/test/browser/overlink_test.html create mode 100644 editor/libeditor/crashtests/1618906.html create mode 100644 editor/libeditor/crashtests/1623913.html create mode 100644 editor/libeditor/crashtests/1624007.html create mode 100644 editor/libeditor/crashtests/1624011.html create mode 100644 editor/libeditor/crashtests/745494.html create mode 100644 editor/libeditor/crashtests/848644.html delete mode 100644 editor/libeditor/nsIAbsorbingTransaction.h create mode 100644 editor/libeditor/tests/test_bug1619852.html create mode 100644 editor/libeditor/tests/test_bug1659276.html delete mode 100644 editor/libeditor/tests/test_css_chrome_load_access.html create mode 100644 editor/libeditor/tests/test_label_contenteditable.html create mode 100644 editor/libeditor/tests/test_nsIEditor_insertLineBreak.html create mode 100644 editor/libeditor/tests/test_nsIHTMLEditor_getElementOrParentByTagName.html create mode 100644 editor/libeditor/tests/test_nsIHTMLEditor_getParagraphState.html delete mode 100644 editor/libeditor/tests/test_nsIPlaintextEditor_insertLineBreak.html create mode 100644 editor/libeditor/tests/test_pasting_text_longer_than_maxlength.html create mode 100644 editor/libeditor/tests/test_setting_value_longer_than_maxlength_with_setUserInput.html create mode 100644 editor/libeditor/tests/test_typing_at_edge_of_anchor.html delete mode 100644 editor/nsIEditorStyleSheets.idl delete mode 100644 editor/nsIPlaintextEditor.idl create mode 100644 extensions/permissions/test/unit/test_permmanager_migrate_10-11.js create mode 100644 gfx/layers/apz/test/mochitest/helper_hittest_hoisted_scrollinfo.html create mode 100644 gfx/layers/apz/test/mochitest/test_group_zoom-2.html rename gfx/qcms/{transform-altivec.c => transform-altivec.cpp} (52%) delete mode 100644 gfx/qcms/transform-sse1.c create mode 100644 gfx/qcms/transform-sse1.cpp delete mode 100644 gfx/qcms/transform-sse2.c create mode 100644 gfx/qcms/transform-sse2.cpp rename gfx/qcms/{transform.c => transform.cpp} (69%) create mode 100644 image/test/mochitest/mq_dynamic_svg_ref.html create mode 100644 image/test/mochitest/mq_dynamic_svg_test.html create mode 100644 image/test/mochitest/test_animated_css_image.html create mode 100644 image/test/mochitest/test_canvas_frame_animation.html create mode 100644 image/test/mochitest/test_mq_dynamic_svg.html delete mode 100644 media/mp4parse-rust/mp4parse/tests/afl.rs delete mode 100644 media/mp4parse-rust/mp4parse_capi/build.rs delete mode 100644 media/mp4parse-rust/mp4parse_fallible/Cargo.toml delete mode 100644 media/mp4parse-rust/mp4parse_fallible/README delete mode 100644 media/mp4parse-rust/mp4parse_fallible/lib.rs delete mode 100644 media/mtransport/WebrtcProxyChannelWrapper.cpp create mode 100644 media/mtransport/WebrtcTCPSocketWrapper.cpp rename media/mtransport/{WebrtcProxyChannelWrapper.h => WebrtcTCPSocketWrapper.h} (53%) delete mode 100644 media/mtransport/ipc/PProxyConfigLookup.ipdl rename media/mtransport/ipc/{PWebrtcProxyChannel.ipdl => PWebrtcTCPSocket.ipdl} (71%) delete mode 100644 media/mtransport/ipc/ProxyConfigLookup.cpp delete mode 100644 media/mtransport/ipc/ProxyConfigLookup.h delete mode 100644 media/mtransport/ipc/ProxyConfigLookupChild.cpp delete mode 100644 media/mtransport/ipc/ProxyConfigLookupChild.h delete mode 100644 media/mtransport/ipc/ProxyConfigLookupParent.cpp delete mode 100644 media/mtransport/ipc/ProxyConfigLookupParent.h delete mode 100644 media/mtransport/ipc/WebrtcProxyChannel.cpp delete mode 100644 media/mtransport/ipc/WebrtcProxyChannelChild.cpp delete mode 100644 media/mtransport/ipc/WebrtcProxyChannelChild.h delete mode 100644 media/mtransport/ipc/WebrtcProxyChannelParent.cpp delete mode 100644 media/mtransport/ipc/WebrtcProxyChannelParent.h create mode 100644 media/mtransport/ipc/WebrtcProxyConfig.ipdlh create mode 100644 media/mtransport/ipc/WebrtcTCPSocket.cpp rename media/mtransport/ipc/{WebrtcProxyChannel.h => WebrtcTCPSocket.h} (56%) rename media/mtransport/ipc/{WebrtcProxyChannelCallback.h => WebrtcTCPSocketCallback.h} (65%) create mode 100644 media/mtransport/ipc/WebrtcTCPSocketChild.cpp create mode 100644 media/mtransport/ipc/WebrtcTCPSocketChild.h rename media/mtransport/ipc/{WebrtcProxyLog.cpp => WebrtcTCPSocketLog.cpp} (77%) rename media/mtransport/ipc/{WebrtcProxyLog.h => WebrtcTCPSocketLog.h} (61%) create mode 100644 media/mtransport/ipc/WebrtcTCPSocketParent.cpp create mode 100644 media/mtransport/ipc/WebrtcTCPSocketParent.h rename media/mtransport/{nr_socket_proxy.cpp => nr_socket_tcp.cpp} (58%) rename media/mtransport/{nr_socket_proxy.h => nr_socket_tcp.h} (80%) create mode 100644 mfbt/FunctionRef.h create mode 100644 mfbt/InitializedOnce.h create mode 100644 mfbt/tests/TestFunctionRef.cpp create mode 100644 mfbt/tests/gtest/TestInitializedOnce.cpp delete mode 100644 mobile/android/themes/geckoview/content.css delete mode 100644 mobile/android/themes/geckoview/scrollbar-apz.css rename modules/libpref/docs/{index.rst => index.md} (70%) delete mode 100644 package-lock.json delete mode 100644 package.json delete mode 100644 security/manager/ssl/tests/unit/test_cert_storage_preexisting/data.mdb create mode 100644 security/manager/ssl/tests/unit/test_cert_storage_preexisting/data.safe.bin delete mode 100644 security/manager/ssl/tests/unit/test_cert_storage_preexisting/lock.mdb delete mode 100644 third_party/msgpack/README-mozilla delete mode 100644 third_party/msgpack/include/msgpack.h delete mode 100644 third_party/msgpack/include/msgpack.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/adaptor_base.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/adaptor_base_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/array_ref.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/array_ref_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/bool.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/boost/fusion.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/boost/msgpack_variant.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/boost/msgpack_variant_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/boost/optional.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/boost/string_ref.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/boost/string_view.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/carray.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/char_ptr.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/check_container_size.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/check_container_size_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/cpp11/array.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/cpp11/array_char.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/cpp11/array_unsigned_char.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/cpp11/chrono.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/cpp11/forward_list.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/cpp11/reference_wrapper.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/cpp11/shared_ptr.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/cpp11/tuple.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/cpp11/unique_ptr.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/cpp11/unordered_map.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/cpp11/unordered_set.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/cpp17/byte.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/cpp17/carray_byte.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/cpp17/optional.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/cpp17/string_view.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/cpp17/vector_byte.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/define.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/define_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/deque.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/ext.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/ext_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/fixint.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/fixint_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/float.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/int.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/int_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/list.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/map.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/map_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/msgpack_tuple.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/msgpack_tuple_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/nil.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/nil_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/pair.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/raw.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/raw_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/set.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/size_equal_only.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/size_equal_only_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/string.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/tr1/unordered_map.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/tr1/unordered_set.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/v4raw.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/v4raw_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/vector.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/vector_bool.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/vector_char.hpp delete mode 100644 third_party/msgpack/include/msgpack/adaptor/vector_unsigned_char.hpp delete mode 100644 third_party/msgpack/include/msgpack/cpp_config.hpp delete mode 100644 third_party/msgpack/include/msgpack/cpp_config_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/create_object_visitor.hpp delete mode 100644 third_party/msgpack/include/msgpack/create_object_visitor_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/fbuffer.h delete mode 100644 third_party/msgpack/include/msgpack/fbuffer.hpp delete mode 100644 third_party/msgpack/include/msgpack/fbuffer_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/gcc_atomic.h delete mode 100644 third_party/msgpack/include/msgpack/gcc_atomic.hpp delete mode 100644 third_party/msgpack/include/msgpack/iterator.hpp delete mode 100644 third_party/msgpack/include/msgpack/iterator_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/meta.hpp delete mode 100644 third_party/msgpack/include/msgpack/meta_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/null_visitor.hpp delete mode 100644 third_party/msgpack/include/msgpack/null_visitor_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/object.h delete mode 100644 third_party/msgpack/include/msgpack/object.hpp delete mode 100644 third_party/msgpack/include/msgpack/object_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/object_fwd.hpp delete mode 100644 third_party/msgpack/include/msgpack/object_fwd_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/pack.h delete mode 100644 third_party/msgpack/include/msgpack/pack.hpp delete mode 100644 third_party/msgpack/include/msgpack/pack_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/pack_define.h delete mode 100644 third_party/msgpack/include/msgpack/pack_template.h delete mode 100644 third_party/msgpack/include/msgpack/parse.hpp delete mode 100644 third_party/msgpack/include/msgpack/parse_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/parse_return.hpp delete mode 100644 third_party/msgpack/include/msgpack/predef.h delete mode 100644 third_party/msgpack/include/msgpack/predef/architecture.h delete mode 100644 third_party/msgpack/include/msgpack/predef/architecture/alpha.h delete mode 100644 third_party/msgpack/include/msgpack/predef/architecture/arm.h delete mode 100644 third_party/msgpack/include/msgpack/predef/architecture/blackfin.h delete mode 100644 third_party/msgpack/include/msgpack/predef/architecture/convex.h delete mode 100644 third_party/msgpack/include/msgpack/predef/architecture/ia64.h delete mode 100644 third_party/msgpack/include/msgpack/predef/architecture/m68k.h delete mode 100644 third_party/msgpack/include/msgpack/predef/architecture/mips.h delete mode 100644 third_party/msgpack/include/msgpack/predef/architecture/parisc.h delete mode 100644 third_party/msgpack/include/msgpack/predef/architecture/ppc.h delete mode 100644 third_party/msgpack/include/msgpack/predef/architecture/pyramid.h delete mode 100644 third_party/msgpack/include/msgpack/predef/architecture/rs6k.h delete mode 100644 third_party/msgpack/include/msgpack/predef/architecture/sparc.h delete mode 100644 third_party/msgpack/include/msgpack/predef/architecture/superh.h delete mode 100644 third_party/msgpack/include/msgpack/predef/architecture/sys370.h delete mode 100644 third_party/msgpack/include/msgpack/predef/architecture/sys390.h delete mode 100644 third_party/msgpack/include/msgpack/predef/architecture/x86.h delete mode 100644 third_party/msgpack/include/msgpack/predef/architecture/x86/32.h delete mode 100644 third_party/msgpack/include/msgpack/predef/architecture/x86/64.h delete mode 100644 third_party/msgpack/include/msgpack/predef/architecture/z.h delete mode 100644 third_party/msgpack/include/msgpack/predef/compiler.h delete mode 100644 third_party/msgpack/include/msgpack/predef/compiler/borland.h delete mode 100644 third_party/msgpack/include/msgpack/predef/compiler/clang.h delete mode 100644 third_party/msgpack/include/msgpack/predef/compiler/comeau.h delete mode 100644 third_party/msgpack/include/msgpack/predef/compiler/compaq.h delete mode 100644 third_party/msgpack/include/msgpack/predef/compiler/diab.h delete mode 100644 third_party/msgpack/include/msgpack/predef/compiler/digitalmars.h delete mode 100644 third_party/msgpack/include/msgpack/predef/compiler/dignus.h delete mode 100644 third_party/msgpack/include/msgpack/predef/compiler/edg.h delete mode 100644 third_party/msgpack/include/msgpack/predef/compiler/ekopath.h delete mode 100644 third_party/msgpack/include/msgpack/predef/compiler/gcc.h delete mode 100644 third_party/msgpack/include/msgpack/predef/compiler/gcc_xml.h delete mode 100644 third_party/msgpack/include/msgpack/predef/compiler/greenhills.h delete mode 100644 third_party/msgpack/include/msgpack/predef/compiler/hp_acc.h delete mode 100644 third_party/msgpack/include/msgpack/predef/compiler/iar.h delete mode 100644 third_party/msgpack/include/msgpack/predef/compiler/ibm.h delete mode 100644 third_party/msgpack/include/msgpack/predef/compiler/intel.h delete mode 100644 third_party/msgpack/include/msgpack/predef/compiler/kai.h delete mode 100644 third_party/msgpack/include/msgpack/predef/compiler/llvm.h delete mode 100644 third_party/msgpack/include/msgpack/predef/compiler/metaware.h delete mode 100644 third_party/msgpack/include/msgpack/predef/compiler/metrowerks.h delete mode 100644 third_party/msgpack/include/msgpack/predef/compiler/microtec.h delete mode 100644 third_party/msgpack/include/msgpack/predef/compiler/mpw.h delete mode 100644 third_party/msgpack/include/msgpack/predef/compiler/palm.h delete mode 100644 third_party/msgpack/include/msgpack/predef/compiler/pgi.h delete mode 100644 third_party/msgpack/include/msgpack/predef/compiler/sgi_mipspro.h delete mode 100644 third_party/msgpack/include/msgpack/predef/compiler/sunpro.h delete mode 100644 third_party/msgpack/include/msgpack/predef/compiler/tendra.h delete mode 100644 third_party/msgpack/include/msgpack/predef/compiler/visualc.h delete mode 100644 third_party/msgpack/include/msgpack/predef/compiler/watcom.h delete mode 100644 third_party/msgpack/include/msgpack/predef/detail/_cassert.h delete mode 100644 third_party/msgpack/include/msgpack/predef/detail/_exception.h delete mode 100644 third_party/msgpack/include/msgpack/predef/detail/comp_detected.h delete mode 100644 third_party/msgpack/include/msgpack/predef/detail/endian_compat.h delete mode 100644 third_party/msgpack/include/msgpack/predef/detail/os_detected.h delete mode 100644 third_party/msgpack/include/msgpack/predef/detail/platform_detected.h delete mode 100644 third_party/msgpack/include/msgpack/predef/detail/test.h delete mode 100644 third_party/msgpack/include/msgpack/predef/detail/test_def.h delete mode 100644 third_party/msgpack/include/msgpack/predef/hardware.h delete mode 100644 third_party/msgpack/include/msgpack/predef/hardware/simd.h delete mode 100644 third_party/msgpack/include/msgpack/predef/hardware/simd/arm.h delete mode 100644 third_party/msgpack/include/msgpack/predef/hardware/simd/arm/versions.h delete mode 100644 third_party/msgpack/include/msgpack/predef/hardware/simd/ppc.h delete mode 100644 third_party/msgpack/include/msgpack/predef/hardware/simd/ppc/versions.h delete mode 100644 third_party/msgpack/include/msgpack/predef/hardware/simd/x86.h delete mode 100644 third_party/msgpack/include/msgpack/predef/hardware/simd/x86/versions.h delete mode 100644 third_party/msgpack/include/msgpack/predef/hardware/simd/x86_amd.h delete mode 100644 third_party/msgpack/include/msgpack/predef/hardware/simd/x86_amd/versions.h delete mode 100644 third_party/msgpack/include/msgpack/predef/language.h delete mode 100644 third_party/msgpack/include/msgpack/predef/language/objc.h delete mode 100644 third_party/msgpack/include/msgpack/predef/language/stdc.h delete mode 100644 third_party/msgpack/include/msgpack/predef/language/stdcpp.h delete mode 100644 third_party/msgpack/include/msgpack/predef/library.h delete mode 100644 third_party/msgpack/include/msgpack/predef/library/c.h delete mode 100644 third_party/msgpack/include/msgpack/predef/library/c/_prefix.h delete mode 100644 third_party/msgpack/include/msgpack/predef/library/c/gnu.h delete mode 100644 third_party/msgpack/include/msgpack/predef/library/c/uc.h delete mode 100644 third_party/msgpack/include/msgpack/predef/library/c/vms.h delete mode 100644 third_party/msgpack/include/msgpack/predef/library/c/zos.h delete mode 100644 third_party/msgpack/include/msgpack/predef/library/std.h delete mode 100644 third_party/msgpack/include/msgpack/predef/library/std/_prefix.h delete mode 100644 third_party/msgpack/include/msgpack/predef/library/std/cxx.h delete mode 100644 third_party/msgpack/include/msgpack/predef/library/std/dinkumware.h delete mode 100644 third_party/msgpack/include/msgpack/predef/library/std/libcomo.h delete mode 100644 third_party/msgpack/include/msgpack/predef/library/std/modena.h delete mode 100644 third_party/msgpack/include/msgpack/predef/library/std/msl.h delete mode 100644 third_party/msgpack/include/msgpack/predef/library/std/roguewave.h delete mode 100644 third_party/msgpack/include/msgpack/predef/library/std/sgi.h delete mode 100644 third_party/msgpack/include/msgpack/predef/library/std/stdcpp3.h delete mode 100644 third_party/msgpack/include/msgpack/predef/library/std/stlport.h delete mode 100644 third_party/msgpack/include/msgpack/predef/library/std/vacpp.h delete mode 100644 third_party/msgpack/include/msgpack/predef/make.h delete mode 100644 third_party/msgpack/include/msgpack/predef/os.h delete mode 100644 third_party/msgpack/include/msgpack/predef/os/aix.h delete mode 100644 third_party/msgpack/include/msgpack/predef/os/amigaos.h delete mode 100644 third_party/msgpack/include/msgpack/predef/os/android.h delete mode 100644 third_party/msgpack/include/msgpack/predef/os/beos.h delete mode 100644 third_party/msgpack/include/msgpack/predef/os/bsd.h delete mode 100644 third_party/msgpack/include/msgpack/predef/os/bsd/bsdi.h delete mode 100644 third_party/msgpack/include/msgpack/predef/os/bsd/dragonfly.h delete mode 100644 third_party/msgpack/include/msgpack/predef/os/bsd/free.h delete mode 100644 third_party/msgpack/include/msgpack/predef/os/bsd/net.h delete mode 100644 third_party/msgpack/include/msgpack/predef/os/bsd/open.h delete mode 100644 third_party/msgpack/include/msgpack/predef/os/cygwin.h delete mode 100644 third_party/msgpack/include/msgpack/predef/os/haiku.h delete mode 100644 third_party/msgpack/include/msgpack/predef/os/hpux.h delete mode 100644 third_party/msgpack/include/msgpack/predef/os/ios.h delete mode 100644 third_party/msgpack/include/msgpack/predef/os/irix.h delete mode 100644 third_party/msgpack/include/msgpack/predef/os/linux.h delete mode 100644 third_party/msgpack/include/msgpack/predef/os/macos.h delete mode 100644 third_party/msgpack/include/msgpack/predef/os/os400.h delete mode 100644 third_party/msgpack/include/msgpack/predef/os/qnxnto.h delete mode 100644 third_party/msgpack/include/msgpack/predef/os/solaris.h delete mode 100644 third_party/msgpack/include/msgpack/predef/os/unix.h delete mode 100644 third_party/msgpack/include/msgpack/predef/os/vms.h delete mode 100644 third_party/msgpack/include/msgpack/predef/os/windows.h delete mode 100644 third_party/msgpack/include/msgpack/predef/other.h delete mode 100644 third_party/msgpack/include/msgpack/predef/other/endian.h delete mode 100644 third_party/msgpack/include/msgpack/predef/platform.h delete mode 100644 third_party/msgpack/include/msgpack/predef/platform/mingw.h delete mode 100644 third_party/msgpack/include/msgpack/predef/platform/windows_desktop.h delete mode 100644 third_party/msgpack/include/msgpack/predef/platform/windows_phone.h delete mode 100644 third_party/msgpack/include/msgpack/predef/platform/windows_runtime.h delete mode 100644 third_party/msgpack/include/msgpack/predef/platform/windows_store.h delete mode 100644 third_party/msgpack/include/msgpack/predef/version.h delete mode 100644 third_party/msgpack/include/msgpack/predef/version_number.h delete mode 100644 third_party/msgpack/include/msgpack/preprocessor.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/arithmetic.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/arithmetic/add.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/arithmetic/dec.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/arithmetic/detail/div_base.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/arithmetic/div.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/arithmetic/inc.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/arithmetic/mod.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/arithmetic/mul.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/arithmetic/sub.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/array.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/array/data.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/array/detail/get_data.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/array/elem.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/array/enum.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/array/insert.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/array/pop_back.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/array/pop_front.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/array/push_back.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/array/push_front.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/array/remove.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/array/replace.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/array/reverse.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/array/size.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/array/to_list.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/array/to_seq.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/array/to_tuple.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/assert_msg.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/cat.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/comma.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/comma_if.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/comparison.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/comparison/equal.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/comparison/greater.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/comparison/greater_equal.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/comparison/less.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/comparison/less_equal.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/comparison/not_equal.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/config/config.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/config/limits.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/control.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/control/deduce_d.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/control/detail/dmc/while.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/control/detail/edg/while.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/control/detail/msvc/while.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/control/detail/while.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/control/expr_if.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/control/expr_iif.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/control/if.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/control/iif.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/control/while.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/debug.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/debug/assert.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/debug/error.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/debug/line.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/dec.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/detail/auto_rec.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/detail/check.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/detail/dmc/auto_rec.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/detail/is_binary.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/detail/is_nullary.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/detail/is_unary.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/detail/null.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/detail/split.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/empty.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/enum.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/enum_params.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/enum_params_with_a_default.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/enum_params_with_defaults.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/enum_shifted.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/enum_shifted_params.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/expand.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/expr_if.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/facilities.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/facilities/apply.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/facilities/detail/is_empty.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/facilities/empty.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/facilities/expand.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/facilities/identity.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/facilities/intercept.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/facilities/is_1.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/facilities/is_empty.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/facilities/is_empty_or_1.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/facilities/is_empty_variadic.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/facilities/overload.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/for.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/identity.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/if.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/inc.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/iterate.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/iteration.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/iteration/detail/bounds/lower1.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/iteration/detail/bounds/lower2.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/iteration/detail/bounds/lower3.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/iteration/detail/bounds/lower4.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/iteration/detail/bounds/lower5.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/iteration/detail/bounds/upper1.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/iteration/detail/bounds/upper2.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/iteration/detail/bounds/upper3.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/iteration/detail/bounds/upper4.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/iteration/detail/bounds/upper5.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/iteration/detail/finish.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/iteration/detail/iter/forward1.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/iteration/detail/iter/forward2.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/iteration/detail/iter/forward3.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/iteration/detail/iter/forward4.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/iteration/detail/iter/forward5.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/iteration/detail/iter/reverse1.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/iteration/detail/iter/reverse2.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/iteration/detail/iter/reverse3.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/iteration/detail/iter/reverse4.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/iteration/detail/iter/reverse5.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/iteration/detail/local.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/iteration/detail/rlocal.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/iteration/detail/self.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/iteration/detail/start.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/iteration/iterate.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/iteration/local.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/iteration/self.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/library.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/limits.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/list.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/list/adt.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/list/append.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/list/at.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/list/cat.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/list/detail/dmc/fold_left.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/list/detail/edg/fold_left.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/list/detail/edg/fold_right.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/list/detail/fold_left.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/list/detail/fold_right.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/list/enum.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/list/filter.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/list/first_n.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/list/fold_left.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/list/fold_right.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/list/for_each.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/list/for_each_i.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/list/for_each_product.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/list/rest_n.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/list/reverse.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/list/size.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/list/to_array.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/list/to_seq.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/list/to_tuple.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/list/transform.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/logical.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/logical/and.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/logical/bitand.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/logical/bitnor.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/logical/bitor.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/logical/bitxor.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/logical/bool.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/logical/compl.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/logical/nor.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/logical/not.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/logical/or.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/logical/xor.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/max.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/min.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/punctuation.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/punctuation/comma.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/punctuation/comma_if.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/punctuation/detail/is_begin_parens.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/punctuation/is_begin_parens.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/punctuation/paren.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/punctuation/paren_if.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/punctuation/remove_parens.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/repeat.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/repeat_2nd.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/repeat_3rd.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/repeat_from_to.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/repeat_from_to_2nd.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/repeat_from_to_3rd.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/repetition.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/repetition/deduce_r.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/repetition/deduce_z.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/repetition/detail/dmc/for.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/repetition/detail/edg/for.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/repetition/detail/for.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/repetition/detail/msvc/for.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/repetition/enum.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/repetition/enum_binary_params.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/repetition/enum_params.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/repetition/enum_params_with_a_default.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/repetition/enum_params_with_defaults.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/repetition/enum_shifted.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/repetition/enum_shifted_binary_params.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/repetition/enum_shifted_params.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/repetition/enum_trailing.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/repetition/enum_trailing_binary_params.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/repetition/enum_trailing_params.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/repetition/for.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/repetition/repeat.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/repetition/repeat_from_to.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/selection.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/selection/max.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/selection/min.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/seq.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/seq/cat.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/seq/detail/binary_transform.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/seq/detail/is_empty.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/seq/detail/split.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/seq/elem.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/seq/enum.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/seq/filter.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/seq/first_n.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/seq/fold_left.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/seq/fold_right.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/seq/for_each.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/seq/for_each_i.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/seq/for_each_product.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/seq/insert.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/seq/pop_back.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/seq/pop_front.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/seq/push_back.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/seq/push_front.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/seq/remove.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/seq/replace.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/seq/rest_n.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/seq/reverse.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/seq/seq.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/seq/size.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/seq/subseq.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/seq/to_array.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/seq/to_list.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/seq/to_tuple.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/seq/transform.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/seq/variadic_seq_to_seq.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/slot.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/slot/counter.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/slot/detail/counter.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/slot/detail/def.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/slot/detail/shared.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/slot/detail/slot1.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/slot/detail/slot2.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/slot/detail/slot3.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/slot/detail/slot4.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/slot/detail/slot5.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/slot/slot.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/stringize.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/tuple.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/tuple/detail/is_single_return.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/tuple/eat.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/tuple/elem.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/tuple/enum.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/tuple/insert.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/tuple/pop_back.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/tuple/pop_front.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/tuple/push_back.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/tuple/push_front.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/tuple/rem.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/tuple/remove.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/tuple/replace.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/tuple/reverse.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/tuple/size.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/tuple/to_array.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/tuple/to_list.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/tuple/to_seq.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/variadic.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/variadic/detail/is_single_return.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/variadic/elem.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/variadic/size.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/variadic/to_array.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/variadic/to_list.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/variadic/to_seq.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/variadic/to_tuple.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/while.hpp delete mode 100644 third_party/msgpack/include/msgpack/preprocessor/wstringize.hpp delete mode 100644 third_party/msgpack/include/msgpack/sbuffer.h delete mode 100644 third_party/msgpack/include/msgpack/sbuffer.hpp delete mode 100644 third_party/msgpack/include/msgpack/sbuffer_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/sysdep.h delete mode 100644 third_party/msgpack/include/msgpack/timestamp.h delete mode 100644 third_party/msgpack/include/msgpack/type.hpp delete mode 100644 third_party/msgpack/include/msgpack/unpack.h delete mode 100644 third_party/msgpack/include/msgpack/unpack.hpp delete mode 100644 third_party/msgpack/include/msgpack/unpack_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/unpack_define.h delete mode 100644 third_party/msgpack/include/msgpack/unpack_exception.hpp delete mode 100644 third_party/msgpack/include/msgpack/unpack_template.h delete mode 100644 third_party/msgpack/include/msgpack/util.h delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/adaptor_base.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/adaptor_base_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/array_ref.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/array_ref_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/bool.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/boost/fusion.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/boost/msgpack_variant.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/boost/msgpack_variant_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/boost/optional.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/boost/string_ref.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/boost/string_view.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/carray.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/char_ptr.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/check_container_size.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/check_container_size_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/cpp11/array.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/cpp11/array_char.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/cpp11/array_unsigned_char.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/cpp11/chrono.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/cpp11/forward_list.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/cpp11/reference_wrapper.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/cpp11/shared_ptr.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/cpp11/tuple.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/cpp11/unique_ptr.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/cpp11/unordered_map.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/cpp11/unordered_set.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/cpp17/byte.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/cpp17/carray_byte.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/cpp17/optional.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/cpp17/string_view.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/cpp17/vector_byte.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/define.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/define_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/deque.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/detail/cpp03_define_array.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/detail/cpp03_define_array_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/detail/cpp03_define_map.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/detail/cpp03_define_map_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/detail/cpp03_msgpack_tuple.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/detail/cpp03_msgpack_tuple_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/detail/cpp11_convert_helper.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/detail/cpp11_define_array.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/detail/cpp11_define_array_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/detail/cpp11_define_map.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/detail/cpp11_define_map_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/detail/cpp11_msgpack_tuple.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/detail/cpp11_msgpack_tuple_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/ext.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/ext_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/fixint.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/fixint_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/float.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/int.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/int_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/list.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/map.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/map_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/msgpack_tuple.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/msgpack_tuple_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/nil.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/nil_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/pair.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/raw.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/raw_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/set.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/size_equal_only.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/size_equal_only_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/string.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/tr1/unordered_map.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/tr1/unordered_set.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/v4raw.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/v4raw_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/vector.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/vector_bool.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/vector_char.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/adaptor/vector_unsigned_char.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/cpp_config.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/cpp_config_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/detail/cpp03_zone.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/detail/cpp03_zone_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/detail/cpp11_zone.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/detail/cpp11_zone_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/fbuffer.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/fbuffer_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/iterator.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/iterator_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/meta.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/meta_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/object.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/object_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/object_fwd.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/object_fwd_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/pack.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/pack_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/parse_return.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/preprocessor.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/sbuffer.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/sbuffer_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/unpack.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/unpack_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/unpack_exception.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/version.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/versioning.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/vrefbuffer.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/vrefbuffer_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/zbuffer.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/zbuffer_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/zone.hpp delete mode 100644 third_party/msgpack/include/msgpack/v1/zone_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/adaptor/adaptor_base.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/adaptor/adaptor_base_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/adaptor/array_ref_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/adaptor/boost/msgpack_variant_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/adaptor/check_container_size_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/adaptor/define_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/adaptor/detail/cpp03_define_array_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/adaptor/detail/cpp03_define_map_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/adaptor/detail/cpp03_msgpack_tuple_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/adaptor/detail/cpp11_define_array_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/adaptor/detail/cpp11_define_map_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/adaptor/detail/cpp11_msgpack_tuple_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/adaptor/ext_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/adaptor/fixint_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/adaptor/int_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/adaptor/map_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/adaptor/msgpack_tuple_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/adaptor/nil_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/adaptor/raw_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/adaptor/size_equal_only_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/adaptor/v4raw_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/cpp_config_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/create_object_visitor.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/create_object_visitor_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/detail/cpp03_zone_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/detail/cpp11_zone_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/fbuffer_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/iterator_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/meta_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/null_visitor.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/null_visitor_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/object.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/object_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/object_fwd.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/object_fwd_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/pack_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/parse.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/parse_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/parse_return.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/sbuffer_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/unpack.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/unpack_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/vrefbuffer_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/x3_parse.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/x3_parse_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/x3_unpack.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/x3_unpack_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/zbuffer_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v2/zone_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v3/adaptor/adaptor_base.hpp delete mode 100644 third_party/msgpack/include/msgpack/v3/adaptor/adaptor_base_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v3/adaptor/array_ref_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v3/adaptor/boost/msgpack_variant_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v3/adaptor/check_container_size_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v3/adaptor/define_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v3/adaptor/detail/cpp03_define_array_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v3/adaptor/detail/cpp03_define_map_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v3/adaptor/detail/cpp03_msgpack_tuple_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v3/adaptor/detail/cpp11_define_array_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v3/adaptor/detail/cpp11_define_map_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v3/adaptor/detail/cpp11_msgpack_tuple_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v3/adaptor/ext_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v3/adaptor/fixint_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v3/adaptor/int_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v3/adaptor/map_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v3/adaptor/msgpack_tuple_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v3/adaptor/nil_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v3/adaptor/raw_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v3/adaptor/size_equal_only_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v3/adaptor/v4raw_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v3/cpp_config_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v3/create_object_visitor_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v3/detail/cpp03_zone_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v3/detail/cpp11_zone_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v3/fbuffer_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v3/iterator_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v3/meta_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v3/null_visitor_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v3/object_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v3/object_fwd.hpp delete mode 100644 third_party/msgpack/include/msgpack/v3/object_fwd_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v3/pack_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v3/parse.hpp delete mode 100644 third_party/msgpack/include/msgpack/v3/parse_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v3/parse_return.hpp delete mode 100644 third_party/msgpack/include/msgpack/v3/sbuffer_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v3/unpack.hpp delete mode 100644 third_party/msgpack/include/msgpack/v3/unpack_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v3/vrefbuffer_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v3/x3_parse_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v3/x3_unpack.hpp delete mode 100644 third_party/msgpack/include/msgpack/v3/x3_unpack_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v3/zbuffer_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/v3/zone_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/version.h delete mode 100644 third_party/msgpack/include/msgpack/version.hpp delete mode 100644 third_party/msgpack/include/msgpack/version_master.h delete mode 100644 third_party/msgpack/include/msgpack/versioning.hpp delete mode 100644 third_party/msgpack/include/msgpack/vrefbuffer.h delete mode 100644 third_party/msgpack/include/msgpack/vrefbuffer.hpp delete mode 100644 third_party/msgpack/include/msgpack/vrefbuffer_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/x3_parse.hpp delete mode 100644 third_party/msgpack/include/msgpack/x3_parse_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/x3_unpack.hpp delete mode 100644 third_party/msgpack/include/msgpack/x3_unpack_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/zbuffer.h delete mode 100644 third_party/msgpack/include/msgpack/zbuffer.hpp delete mode 100644 third_party/msgpack/include/msgpack/zbuffer_decl.hpp delete mode 100644 third_party/msgpack/include/msgpack/zone.h delete mode 100644 third_party/msgpack/include/msgpack/zone.hpp delete mode 100644 third_party/msgpack/include/msgpack/zone_decl.hpp delete mode 100644 third_party/msgpack/moz.build delete mode 100644 third_party/msgpack/src/objectc.c delete mode 100644 third_party/msgpack/src/unpack.c delete mode 100644 third_party/msgpack/src/version.c delete mode 100644 third_party/msgpack/src/vrefbuffer.c delete mode 100644 third_party/msgpack/src/zone.c delete mode 100644 third_party/msgpack/update.sh delete mode 100644 third_party/prio/README-mozilla delete mode 100644 third_party/prio/include/mprio.h delete mode 100644 third_party/prio/moz.build delete mode 100644 third_party/prio/prio/SConscript delete mode 100644 third_party/prio/prio/client.c delete mode 100644 third_party/prio/prio/client.h delete mode 100644 third_party/prio/prio/config.c delete mode 100644 third_party/prio/prio/config.h delete mode 100644 third_party/prio/prio/debug.h delete mode 100644 third_party/prio/prio/encrypt.c delete mode 100644 third_party/prio/prio/encrypt.h delete mode 100644 third_party/prio/prio/mparray.c delete mode 100644 third_party/prio/prio/mparray.h delete mode 100644 third_party/prio/prio/params.h delete mode 100644 third_party/prio/prio/poly.c delete mode 100644 third_party/prio/prio/poly.h delete mode 100644 third_party/prio/prio/prg.c delete mode 100644 third_party/prio/prio/prg.h delete mode 100644 third_party/prio/prio/rand.c delete mode 100644 third_party/prio/prio/rand.h delete mode 100644 third_party/prio/prio/serial.c delete mode 100644 third_party/prio/prio/serial.h delete mode 100644 third_party/prio/prio/server.c delete mode 100644 third_party/prio/prio/server.h delete mode 100644 third_party/prio/prio/share.c delete mode 100644 third_party/prio/prio/share.h delete mode 100644 third_party/prio/prio/util.h delete mode 100644 third_party/prio/update.sh rename {db => third_party}/sqlite3/README (100%) rename {db => third_party}/sqlite3/README.MOZILLA (100%) rename {db => third_party}/sqlite3/src/moz.build (95%) rename {db => third_party}/sqlite3/src/sqlite.symbols (100%) rename {db => third_party}/sqlite3/src/sqlite3.c (97%) rename {db => third_party}/sqlite3/src/sqlite3.h (99%) create mode 100644 toolkit/components/antitracking/test/browser/3rdPartyRelay.html create mode 100644 toolkit/components/places/PageIconProtocolHandler.cpp create mode 100644 toolkit/components/places/PageIconProtocolHandler.h delete mode 100644 toolkit/components/places/PageIconProtocolHandler.jsm delete mode 100644 toolkit/components/printingui/ipc/PrintDataUtils.cpp delete mode 100644 toolkit/components/printingui/ipc/PrintDataUtils.h delete mode 100644 toolkit/components/telemetry/docs/data/prio-ping.rst delete mode 100644 toolkit/components/telemetry/pings/PrioPing.jsm delete mode 100644 toolkit/components/telemetry/tests/unit/test_PrioPing.js delete mode 100644 toolkit/content/tests/browser/browser_block_autoplay_media.js create mode 100644 toolkit/content/tests/browser/browser_delay_autoplay_media.js rename toolkit/content/tests/browser/{browser_block_autoplay_media_pausedAfterPlay.js => browser_delay_autoplay_media_pausedAfterPlay.js} (57%) rename toolkit/content/tests/browser/{browser_block_multipleMedia.js => browser_delay_autoplay_multipleMedia.js} (53%) rename toolkit/content/tests/browser/{browser_block_notInTreeAudio.js => browser_delay_autoplay_notInTreeAudio.js} (77%) rename toolkit/content/tests/browser/{browser_block_autoplay_playAfterTabVisible.js => browser_delay_autoplay_playAfterTabVisible.js} (79%) rename toolkit/content/tests/browser/{browser_block_playMediaInMuteTab.js => browser_delay_autoplay_playMediaInMuteTab.js} (74%) rename toolkit/content/tests/browser/{browser_block_plugIn.js => browser_delay_autoplay_plugIn.js} (100%) rename toolkit/content/tests/browser/{browser_block_silentAudioTrack_media.js => browser_delay_autoplay_silentAudioTrack_media.js} (64%) rename toolkit/content/tests/browser/{browser_block_webAudio.js => browser_delay_autoplay_webAudio.js} (100%) create mode 100644 toolkit/themes/mobile/global/scrollbars.css create mode 100644 tools/clang-tidy/docs/summary.rst create mode 100644 tools/docs/docs/contribute/how_to_contribute_firefox.rst create mode 100644 tools/lint/docs/coding-style/coding_style_cpp.rst create mode 100644 tools/lint/docs/coding-style/coding_style_general.rst create mode 100644 tools/lint/docs/coding-style/coding_style_java.rst create mode 100644 tools/lint/docs/coding-style/coding_style_js.rst create mode 100644 tools/lint/docs/coding-style/coding_style_other.rst create mode 100644 tools/lint/docs/coding-style/coding_style_python.rst create mode 100644 tools/lint/docs/coding-style/format_cpp_code_with_clang-format.rst create mode 100644 tools/lint/docs/linters/codespell.rst create mode 100644 tools/lint/docs/linters/cpp-virtual-final.rst create mode 100644 tools/lint/docs/linters/file-perm.rst create mode 100644 tools/lint/docs/linters/file-whitespace.rst create mode 100644 tools/lint/docs/linters/license.rst create mode 100644 tools/lint/docs/linters/lintpref.rst create mode 100644 tools/lint/docs/linters/mingw-capitalization.rst create mode 100644 tools/lint/docs/linters/rstlinter.rst create mode 100644 tools/lint/libpref/__init__.py create mode 100644 tools/lint/lintpref.yml create mode 100644 tools/lint/rst.yml create mode 100644 tools/lint/rst/__init__.py create mode 100644 tools/lint/rst/requirements.txt create mode 100644 uriloader/exthandler/tests/mochitest/browser_download_urlescape.js create mode 100644 uriloader/exthandler/tests/mochitest/file_with@@funny_name.png create mode 100644 uriloader/exthandler/tests/mochitest/file_with@@funny_name.png^headers^ create mode 100644 uriloader/exthandler/tests/mochitest/file_with[funny_name.webm create mode 100644 uriloader/exthandler/tests/mochitest/file_with[funny_name.webm^headers^ diff --git a/.clang-format-ignore b/.clang-format-ignore index b1b7ef1b6b..bfa911029d 100644 --- a/.clang-format-ignore +++ b/.clang-format-ignore @@ -59,7 +59,6 @@ xpcom/reflect/xptcall/md/unix/.* # awk '{print ""$1".*"}' ./tools/rewriting/ThirdPartyPaths.txt browser/components/translation/cld2/.* browser/extensions/mortar/ppapi/.* -db/sqlite3/src/.* devtools/client/shared/sourceeditor/codemirror/.* devtools/client/shared/sourceeditor/tern/.* dom/canvas/test/webgl-conf/checkout/closure-library/.* diff --git a/.eslintrc.js b/.eslintrc.js index caa53dd19e..205c3837d6 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -145,23 +145,6 @@ module.exports = { "no-redeclare": "off", "no-global-assign": "off", } - }, { - "files": [ - "image/**", - ], - "rules": { - "mozilla/consistent-if-bracing": "off", - "mozilla/use-chromeutils-generateqi": "off", - "mozilla/use-services": "off", - "no-array-constructor": "off", - "no-implied-eval": "off", - "no-redeclare": "off", - "no-self-assign": "off", - "no-throw-literal": "off", - "no-undef": "off", - "no-unneeded-ternary": "off", - "no-unused-vars": "off", - } }, { "files": [ "netwerk/cookie/test/browser/**", diff --git a/CLOBBER b/CLOBBER index daca32d69e..3f6f0c390e 100644 --- a/CLOBBER +++ b/CLOBBER @@ -22,4 +22,4 @@ # changes to stick? As of bug 928195, this shouldn't be necessary! Please # don't change CLOBBER for WebIDL changes any more. -Bug 1632434 - Update to ICU 67 requires clobber +Bug 1551084 - Part 2. Make QCMS transform files use C++. r=miko diff --git a/Cargo.lock b/Cargo.lock index 9a84ca8a36..ea51ecc9b4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -85,7 +85,7 @@ dependencies = [ "futures", "iovec", "libc", - "log 0.4.6", + "log", "memmap", "mio-named-pipes", "scoped-tls 0.1.0", @@ -93,7 +93,7 @@ dependencies = [ "serde_derive", "tokio-core", "tokio-io", - "tokio-uds 0.1.7", + "tokio-uds", "winapi 0.3.7", ] @@ -107,9 +107,9 @@ dependencies = [ "futures", "futures-cpupool", "libc", - "log 0.4.6", + "log", "tokio-core", - "tokio-uds 0.1.7", + "tokio-uds", ] [[package]] @@ -124,10 +124,10 @@ dependencies = [ "lazy_static", "lazycell 0.4.0", "libc", - "log 0.4.6", + "log", "slab 0.3.0", "tokio-core", - "tokio-uds 0.1.7", + "tokio-uds", ] [[package]] @@ -142,7 +142,7 @@ dependencies = [ "devd-rs", "libc", "libudev", - "log 0.4.6", + "log", "rand 0.6.5", "runloop", "winapi 0.3.7", @@ -185,8 +185,8 @@ dependencies = [ "cranelift-codegen", "cranelift-wasm", "env_logger", - "log 0.4.6", - "smallvec 1.0.0", + "log", + "smallvec", ] [[package]] @@ -221,15 +221,15 @@ dependencies = [ "clap", "env_logger", "itertools", - "log 0.4.6", + "log", "yaml-rust", ] [[package]] name = "bincode" -version = "1.0.0" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bda13183df33055cbb84b847becce220d392df502ebe7a4a78d7021771ed94d0" +checksum = "5753e2a71534719bf3f4e57006c3a4f0d2c672a4b676eec84161f763eca87dbf" dependencies = [ "byteorder", "serde", @@ -237,18 +237,19 @@ dependencies = [ [[package]] name = "bindgen" -version = "0.51.1" +version = "0.53.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebd71393f1ec0509b553aa012b9b58e81dadbdff7130bd3b8cba576e69b32f75" +checksum = "6bb26d6a69a335b8cb0e7c7e9775cd5666611dc50a37177c3f2cedcfc040e8c8" dependencies = [ "bitflags", "cexpr", "cfg-if", "clang-sys", "lazy_static", + "lazycell 1.2.1", "peeking_take_while", - "proc-macro2 1.0.5", - "quote 1.0.2", + "proc-macro2", + "quote", "regex", "rustc-hash", "shlex", @@ -256,13 +257,13 @@ dependencies = [ [[package]] name = "binjs_meta" -version = "0.5.2" +version = "0.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c9a0da2208ceb785c1626fa8b7d250d2e5546ae230294b4a998e4f818c1768e" +checksum = "d535cc5246fd9035268770420afd76c05f87e68b83ebed0ac94e8258e88fc353" dependencies = [ "Inflector", "itertools", - "log 0.4.6", + "log", "weedle", ] @@ -286,9 +287,12 @@ checksum = "8a606a02debe2813760609f57a64a2ffd27d9fdf5b2f133eaca0b248dd92cdd2" [[package]] name = "bitreader" -version = "0.3.0" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80b13e2ab064ff3aa0bdbf1eff533f9822dc37899821f5f98c67f263eab51707" +checksum = "5fa7f0adf37cd5472c978a1ff4be89c1880a923d10df4cfef6a10855a666e09b" +dependencies = [ + "cfg-if", +] [[package]] name = "bits" @@ -327,7 +331,7 @@ dependencies = [ "failure", "failure_derive", "libc", - "log 0.4.6", + "log", "moz_task", "nserror", "nsstring", @@ -374,7 +378,7 @@ dependencies = [ "cstr", "dogear", "libc", - "log 0.4.6", + "log", "moz_task", "nserror", "nsstring", @@ -454,8 +458,8 @@ dependencies = [ "base64", "byteorder", "crossbeam-utils", - "lmdb-rkv", - "log 0.4.6", + "cstr", + "log", "moz_task", "nserror", "nsstring", @@ -463,7 +467,6 @@ dependencies = [ "rust_cascade", "sha2", "storage_variant", - "style", "tempfile", "thin-vec", "time", @@ -472,24 +475,24 @@ dependencies = [ [[package]] name = "cexpr" -version = "0.3.3" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fc0086be9ca82f7fc89fc873435531cb898b86e850005850de1f820e2db6e9b" +checksum = "f4aedb84272dbe89af497cf81375129abda4fc0a9e7c5d317498c15cc30c0d27" dependencies = [ "nom", ] [[package]] name = "cfg-if" -version = "0.1.6" +version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "082bb9b28e00d3c9d39cc03e64ce4cea0f1bb9b3fde493f0cbc008472d22bdf4" +checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" [[package]] name = "chrono" -version = "0.4.6" +version = "0.4.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45912881121cb26fad7c38c17ba7daa18764771836b34fab7d3fbd93ed633878" +checksum = "31850b4a4d6bae316f7a09e691c944c28299298837edc0a03f755618c23cbc01" dependencies = [ "num-integer", "num-traits", @@ -498,9 +501,9 @@ dependencies = [ [[package]] name = "clang-sys" -version = "0.28.1" +version = "0.29.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81de550971c976f176130da4b2978d3b524eaa0fd9ac31f3ceb5ae1231fb4853" +checksum = "f92986241798376849e1a007827041fed9bb36195822c2049d18e174420e0534" dependencies = [ "glob", "libc", @@ -644,9 +647,9 @@ dependencies = [ "cranelift-entity", "failure", "failure_derive", - "log 0.4.6", - "smallvec 0.6.10", - "target-lexicon 0.8.1", + "log", + "smallvec", + "target-lexicon", ] [[package]] @@ -674,9 +677,9 @@ version = "0.44.0" source = "git+https://github.com/CraneStation/Cranelift?rev=182414f15c18538dfebbe040469ec8001e93ecc5#182414f15c18538dfebbe040469ec8001e93ecc5" dependencies = [ "cranelift-codegen", - "log 0.4.6", - "smallvec 0.6.10", - "target-lexicon 0.8.1", + "log", + "smallvec", + "target-lexicon", ] [[package]] @@ -689,7 +692,7 @@ dependencies = [ "cranelift-frontend", "failure", "failure_derive", - "log 0.4.6", + "log", "wasmparser", ] @@ -756,10 +759,10 @@ dependencies = [ "itoa", "matches", "phf", - "proc-macro2 1.0.5", - "quote 1.0.2", - "smallvec 1.0.0", - "syn 1.0.5", + "proc-macro2", + "quote", + "smallvec", + "syn", ] [[package]] @@ -768,8 +771,8 @@ version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dfae75de57f2b2e85e8768c3ea840fd159c8f33e2b6522c7835b7abac81be16e" dependencies = [ - "quote 1.0.2", - "syn 1.0.5", + "quote", + "syn", ] [[package]] @@ -789,7 +792,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cd670e5ff58768ef624207fb95709ce63b8d05573fb9a05165f0eef471ea6a3a" dependencies = [ "procedural-masquerade", - "syn 1.0.5", + "syn", ] [[package]] @@ -858,9 +861,9 @@ checksum = "ee54512bec54b41cf2337a22ddfadb53c7d4c738494dc2a186d7b037ad683b85" dependencies = [ "fnv", "ident_case", - "proc-macro2 1.0.5", - "quote 1.0.2", - "syn 1.0.5", + "proc-macro2", + "quote", + "syn", ] [[package]] @@ -870,8 +873,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0cd3e432e52c0810b72898296a69d66b1d78d1517dff6cde7a130557a55a62c1" dependencies = [ "darling_core", - "quote 1.0.2", - "syn 1.0.5", + "quote", + "syn", ] [[package]] @@ -889,9 +892,9 @@ name = "derive_common" version = "0.0.1" dependencies = [ "darling", - "proc-macro2 1.0.5", - "quote 1.0.2", - "syn 1.0.5", + "proc-macro2", + "quote", + "syn", "synstructure", ] @@ -901,16 +904,16 @@ version = "0.99.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2159be042979966de68315bce7034bb000c775f22e3e834e1c52ff78f041cae8" dependencies = [ - "proc-macro2 1.0.5", - "quote 1.0.2", - "syn 1.0.5", + "proc-macro2", + "quote", + "syn", ] [[package]] name = "devd-rs" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d009f166c0d9e9f9909dc751630b3a6411ab7f85a153d32d01deb364ffe52a7" +checksum = "1945ccb7caedabdfb9347766ead740fb1e0582b7425598325f546adbd832cce1" dependencies = [ "libc", "nom", @@ -952,7 +955,7 @@ version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "26b7583e1427e296c852f3217eaab3890e698f742b8d7349beb1f40c4e946fc9" dependencies = [ - "log 0.4.6", + "log", "smallbitvec", ] @@ -1042,7 +1045,7 @@ checksum = "aafcde04e90a5226a6443b7aabdb016ba2f8307c847d524724bd9b346dd1a2d3" dependencies = [ "atty", "humantime", - "log 0.4.6", + "log", "regex", "termcolor", ] @@ -1079,9 +1082,9 @@ version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0bc225b78e0391e4b8683440bf2e63c2deeeb2ce5189eab46e2b68c6d3725d08" dependencies = [ - "proc-macro2 1.0.5", - "quote 1.0.2", - "syn 1.0.5", + "proc-macro2", + "quote", + "syn", "synstructure", ] @@ -1096,7 +1099,7 @@ name = "fallible" version = "0.0.1" dependencies = [ "hashglobe", - "smallvec 1.0.0", + "smallvec", ] [[package]] @@ -1218,7 +1221,7 @@ dependencies = [ "clap", "hyper", "lazy_static", - "log 0.4.6", + "log", "mozprofile", "mozrunner", "mozversion", @@ -1240,14 +1243,14 @@ dependencies = [ "cssparser", "cstr", "libc", - "log 0.4.6", + "log", "malloc_size_of", "nsstring", "num-traits", "parking_lot", "selectors", "servo_arc", - "smallvec 1.0.0", + "smallvec", "style", "style_traits", "to_shmem", @@ -1316,7 +1319,7 @@ dependencies = [ "jsrust_shared", "kvstore", "lmdb-rkv-sys", - "log 0.4.6", + "log", "mapped_hyph", "mdns_service", "mozurl", @@ -1352,7 +1355,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39a23d5e872a275135d66895d954269cf5e8661d234eb1c2480f4ce0d586acbd" dependencies = [ "khronos_api", - "log 0.4.6", + "log", "xml-rs", ] @@ -1373,11 +1376,11 @@ checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574" [[package]] name = "goblin" -version = "0.0.24" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3fa261d919c1ae9d1e4533c4a2f99e10938603c4208d56c05bec7a872b661b0" +checksum = "88a79ef1f0dad46fd78075b6f80f92d97710eddf87b3e18a15a66761e8942672" dependencies = [ - "log 0.4.6", + "log", "plain", "scroll", ] @@ -1404,7 +1407,7 @@ dependencies = [ "futures", "http", "indexmap", - "log 0.4.6", + "log", "slab 0.4.1", "string", "tokio-io", @@ -1450,9 +1453,9 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f33cf300c485e3cbcba0235013fcc768723451c9b84d1b31aa7fec0491ac9a11" dependencies = [ - "proc-macro2 1.0.5", - "quote 1.0.2", - "syn 1.0.5", + "proc-macro2", + "quote", + "syn", ] [[package]] @@ -1495,7 +1498,7 @@ dependencies = [ "httparse", "iovec", "itoa", - "log 0.4.6", + "log", "net2", "time", "tokio", @@ -1589,7 +1592,7 @@ dependencies = [ "glob", "lazy_static", "libc", - "log 0.4.6", + "log", "mozjs_sys", "num-traits", ] @@ -1634,11 +1637,12 @@ version = "0.1.0" dependencies = [ "atomic_refcell", "crossbeam-utils", + "cstr", "failure", "lazy_static", "libc", "lmdb-rkv", - "log 0.4.6", + "log", "moz_task", "nserror", "nsstring", @@ -1730,9 +1734,9 @@ checksum = "70fb39025bc7cdd76305867c4eccf2f2dcf6e9a57f5b21a93e1c2d86cd03ec9e" [[package]] name = "lmdb-rkv" -version = "0.12.3" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "605061e5465304475be2041f19967a900175ea1b6d8f47fbab84a84fb8c48452" +checksum = "447a296f7aca299cfbb50f4e4f3d49451549af655fb7215d7f8c0c3d64bad42b" dependencies = [ "bitflags", "byteorder", @@ -1742,11 +1746,10 @@ dependencies = [ [[package]] name = "lmdb-rkv-sys" -version = "0.9.5" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1e4b19a1fdf5b74bc802cc9aa7c0c86a775e8b872ba9d5a4e606ffc5d076953" +checksum = "b27470ac25167b3afdfb6af8fcd3bc1be67de50ffbdaf4073378cfded6ae24a5" dependencies = [ - "bindgen", "cc", "libc", "pkg-config", @@ -1754,27 +1757,18 @@ dependencies = [ [[package]] name = "lock_api" -version = "0.3.1" +version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8912e782533a93a167888781b836336a6ca5da6175c05944c86cf28c31104dc" +checksum = "c4da24a77a3d8a6d4862d95f72e6fdb9c09a643ecdb402d754004a557f2bec75" dependencies = [ "scopeguard", ] [[package]] name = "log" -version = "0.3.9" +version = "0.4.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e19e8d5c34a3e0e2223db8e060f9e8264aeeb5c5fc64a4ee9965c062211c024b" -dependencies = [ - "log 0.4.6", -] - -[[package]] -name = "log" -version = "0.4.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c84ec4b527950aa83a329754b01dbe3f58361d1c5efacd1f6d68c494d08a17c6" +checksum = "14b6052be84e6b71ab17edffc2eeabf5c2c3ae1fdb464aae35ac50c67a44e1f7" dependencies = [ "cfg-if", ] @@ -1796,7 +1790,7 @@ dependencies = [ "selectors", "servo_arc", "smallbitvec", - "smallvec 1.0.0", + "smallvec", "thin-slice", "void", ] @@ -1807,8 +1801,8 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e37c5d4cd9473c5f4c9c111f033f15d4df9bd378fdf615944e360a4f55a05f0b" dependencies = [ - "proc-macro2 1.0.5", - "syn 1.0.5", + "proc-macro2", + "syn", "synstructure", ] @@ -1833,7 +1827,7 @@ version = "0.1.0" dependencies = [ "byteorder", "dns-parser", - "log 0.4.6", + "log", "socket2", "uuid", ] @@ -1865,18 +1859,15 @@ dependencies = [ [[package]] name = "mime" -version = "0.3.13" +version = "0.3.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e27ca21f40a310bd06d9031785f4801710d566c184a6e15bad4f1d9b65f9425" -dependencies = [ - "unicase", -] +checksum = "2a60c7ce501c71e03a9c9c0d35b861413ae925bd979cc7a4e30d060069aaac8d" [[package]] name = "mime_guess" -version = "2.0.1" +version = "2.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a0ed03949aef72dbdf3116a383d7b38b4768e6f960528cd6a6044aa9ed68599" +checksum = "2684d4c2e97d99848d30b324b00c8fcc7e5c897b7cbb5819b09e7c90e8baf212" dependencies = [ "mime", "unicase", @@ -1903,7 +1894,7 @@ dependencies = [ "kernel32-sys", "lazycell 1.2.1", "libc", - "log 0.4.6", + "log", "miow", "net2", "ntdll-sys", @@ -1918,7 +1909,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "46e73a04c2fa6250b8d802134d56d554a9ec2922bf977777c805ea5def61ce40" dependencies = [ "lazycell 1.2.1", - "log 0.4.6", + "log", "mio", "slab 0.4.1", ] @@ -1930,7 +1921,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "82f43a815b57d2d652550f3d20cec88a495bb2d0956aa873dc43040278455677" dependencies = [ "kernel32-sys", - "log 0.3.9", + "log", "mio", "miow", "winapi 0.2.8", @@ -1987,12 +1978,12 @@ dependencies = [ name = "mozilla-central-workspace-hack" version = "0.1.0" dependencies = [ - "log 0.4.6", - "proc-macro2 0.4.27", - "quote 0.6.11", + "bindgen", + "libc", + "quote", "serde", "serde_derive", - "syn 0.15.30", + "syn", "void", "winapi 0.3.7", ] @@ -2019,7 +2010,7 @@ name = "mozrunner" version = "0.9.0" dependencies = [ "dirs", - "log 0.4.6", + "log", "mozprofile", "plist", "winreg", @@ -2051,7 +2042,7 @@ version = "0.11.4" dependencies = [ "bitreader", "byteorder", - "log 0.4.6", + "log", "mp4parse_fallible", "num-traits", "static_assertions", @@ -2066,16 +2057,16 @@ name = "mp4parse_capi" version = "0.11.2" dependencies = [ "byteorder", - "log 0.4.6", + "log", "mp4parse", "num-traits", ] [[package]] name = "mp4parse_fallible" -version = "0.0.1" +version = "0.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6626c2aef76eb8f984eef02e475883d3fe9112e114720446c5810fc5f045cd30" +checksum = "704f773471ac3e7110427b6bdf93184932b19319c9b7717688da5424e519b10a" [[package]] name = "msdos_time" @@ -2129,11 +2120,12 @@ checksum = "9a2228dca57108069a5262f2ed8bd2e82496d2e074a06d1ccc7ce1687b6ae0a2" [[package]] name = "nom" -version = "4.1.1" +version = "5.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c349f68f25f596b9f44cf0e7c69752a5c633b0550c3ff849518bfba0233774a" +checksum = "0b471253da97532da4b61552249c521e01e736071f71c1a4f7ebbfbf0a06aad6" dependencies = [ "memchr", + "version_check", ] [[package]] @@ -2174,9 +2166,9 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0c8b15b261814f992e33760b1fca9fe8b693d8a65299f20c9901688636cfb746" dependencies = [ - "proc-macro2 1.0.5", - "quote 1.0.2", - "syn 1.0.5", + "proc-macro2", + "quote", + "syn", ] [[package]] @@ -2228,13 +2220,13 @@ dependencies = [ [[package]] name = "object" -version = "0.13.0" +version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d89ec45bc6b810c6ee998e22953fbf387a40fcbf5014dcbb9e5ba9a09a81ee15" +checksum = "a3c61759aa254402e53c79a68dc519cda1ceee2ff2b6d70b3e58bf64ac2f03e3" dependencies = [ "goblin", "scroll", - "target-lexicon 0.4.0", + "target-lexicon", "uuid", ] @@ -2272,27 +2264,25 @@ dependencies = [ [[package]] name = "parking_lot" -version = "0.9.0" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f842b1982eb6c2fe34036a4fbfb06dd185a3f5c8edfaacdf7d1ea10b07de6252" +checksum = "d3a704eb390aafdc107b0e392f56a82b668e3a71366993b5340f5833fd62505e" dependencies = [ "lock_api", "parking_lot_core", - "rustc_version", ] [[package]] name = "parking_lot_core" -version = "0.6.2" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b876b1b9e7ac6e1a74a6da34d25c42e17e8862aa409cbbbdcfc8d86c6f3bc62b" +checksum = "0e136c1904604defe99ce5fd71a28d473fa60a12255d511aa78a9ddf11237aeb" dependencies = [ "cfg-if", "cloudabi", "libc", "redox_syscall", - "rustc_version", - "smallvec 0.6.10", + "smallvec", "winapi 0.3.7", ] @@ -2308,11 +2298,11 @@ dependencies = [ name = "peek-poke-derive" version = "0.2.1" dependencies = [ - "proc-macro2 1.0.5", - "quote 1.0.2", - "syn 1.0.5", + "proc-macro2", + "quote", + "syn", "synstructure", - "unicode-xid 0.2.0", + "unicode-xid", ] [[package]] @@ -2367,9 +2357,9 @@ dependencies = [ "phf_generator", "phf_shared", "proc-macro-hack", - "proc-macro2 1.0.5", - "quote 1.0.2", - "syn 1.0.5", + "proc-macro2", + "quote", + "syn", ] [[package]] @@ -2401,7 +2391,7 @@ checksum = "ffe16a646a08f4b4dd74035b9ff8e378eb1a4012a74f14f5889e7001cdbece33" dependencies = [ "binary-space-partition", "euclid", - "log 0.4.6", + "log", "num-traits", ] @@ -2459,18 +2449,9 @@ version = "0.5.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ecd45702f76d6d3c75a80564378ae228a85f0b59d2f3ed43c91b4a69eb2ebfc5" dependencies = [ - "proc-macro2 1.0.5", - "quote 1.0.2", - "syn 1.0.5", -] - -[[package]] -name = "proc-macro2" -version = "0.4.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d317f9caece796be1980837fd5cb3dfec5613ebdb04ad0956deea83ce168915" -dependencies = [ - "unicode-xid 0.1.0", + "proc-macro2", + "quote", + "syn", ] [[package]] @@ -2479,7 +2460,7 @@ version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "90cf5f418035b98e655e9cdb225047638296b862b42411c4e45bb88d700f7fc0" dependencies = [ - "unicode-xid 0.2.0", + "unicode-xid", ] [[package]] @@ -2520,22 +2501,13 @@ version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eda5fe9b71976e62bc81b781206aaa076401769b2143379d3eb2118388babac4" -[[package]] -name = "quote" -version = "0.6.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdd8e04bd9c52e0342b406469d494fcb033be4bdbe5c606016defbb1681411e1" -dependencies = [ - "proc-macro2 0.4.27", -] - [[package]] name = "quote" version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "053a8c8bcc71fcce321828dc897a98ab9760bef03a4fc36693c231e5b3216cfe" dependencies = [ - "proc-macro2 1.0.5", + "proc-macro2", ] [[package]] @@ -2757,9 +2729,9 @@ dependencies = [ [[package]] name = "regex" -version = "1.3.1" +version = "1.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc220bd33bdce8f093101afe22a037b8eb0e5af33592e6a9caafff0d4cb81cbd" +checksum = "b5508c1941e4e7cb19965abef075d35a9a8b5cdf0846f30b4050e9b55dc55e87" dependencies = [ "aho-corasick", "memchr", @@ -2784,9 +2756,9 @@ dependencies = [ [[package]] name = "rkv" -version = "0.10.2" +version = "0.10.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9aab7c645d32e977e186448b0a5c2c3139a91a7f630cfd8a8c314d1d145e78bf" +checksum = "30a3dbc1f4971372545ed4175f23ef206c81e5874cd574d153646e7ee78f6793" dependencies = [ "arrayref", "bincode", @@ -2816,7 +2788,7 @@ name = "rsdparsa_capi" version = "0.1.0" dependencies = [ "libc", - "log 0.4.6", + "log", "nserror", "webrtc-sdp", ] @@ -2923,41 +2895,39 @@ checksum = "b42e15e59b18a828bbf5c58ea01debb36b9b096346de35d941dcb89009f24a0d" [[package]] name = "scroll" -version = "0.9.2" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f84d114ef17fd144153d608fba7c446b0145d038985e7a8cc5d08bb0ce20383" +checksum = "abb2332cb595d33f7edd5700f4cbf94892e680c7f0ae56adab58a35190b66cb1" dependencies = [ - "rustc_version", "scroll_derive", ] [[package]] name = "scroll_derive" -version = "0.9.5" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f1aa96c45e7f5a91cb7fabe7b279f02fea7126239fc40b732316e8b6a2d0fcb" +checksum = "f8584eea9b9ff42825b46faf46a8c24d2cff13ec152fa2a50df788b87c07ee28" dependencies = [ - "proc-macro2 0.4.27", - "quote 0.6.11", - "syn 0.15.30", + "proc-macro2", + "quote", + "syn", ] [[package]] name = "selectors" -version = "0.21.0" +version = "0.22.0" dependencies = [ "bitflags", "cssparser", "derive_more", "fxhash", - "log 0.4.6", + "log", "matches", "phf", "phf_codegen", "precomputed-hash", "servo_arc", - "smallvec 1.0.0", - "thin-slice", + "smallvec", "to_shmem", "to_shmem_derive", ] @@ -2979,9 +2949,9 @@ checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" [[package]] name = "serde" -version = "1.0.102" +version = "1.0.104" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c4b39bd9b0b087684013a792c59e3e07a46a01d2322518d8a1104641a0b1be0" +checksum = "414115f25f818d7dfccec8ee535d76949ae78584fc4f79a6f45a904bf8ab4449" dependencies = [ "serde_derive", ] @@ -2997,13 +2967,13 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.102" +version = "1.0.104" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca13fc1a832f793322228923fbb3aba9f3f44444898f835d31ad1b74fa0a2bf8" +checksum = "128f9e303a5a29922045a830221b8f78ec74a5f544944f3d5984f8ec3895ef64" dependencies = [ - "proc-macro2 1.0.5", - "quote 1.0.2", - "syn 1.0.5", + "proc-macro2", + "quote", + "syn", ] [[package]] @@ -3091,25 +3061,19 @@ checksum = "5f9776d6b986f77b35c6cf846c11ad986ff128fe0b2b63a3628e3755e8d3102d" [[package]] name = "smallbitvec" -version = "2.3.0" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1764fe2b30ee783bfe3b9b37b2649d8d590b3148bb12e0079715d4d5c673562e" +checksum = "797a4eaffb90d896f29698d45676f9f940a71936d7574996a7df54593ba209fa" [[package]] name = "smallvec" -version = "0.6.10" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab606a9c5e214920bb66c458cd7be8ef094f813f20fe77a54cc7dbfff220d4b7" +checksum = "5c2fb2ec9bcd216a5b0d0ccf31ab17b5ed1d627960edff65bbe95d3ce221cefc" dependencies = [ "serde", ] -[[package]] -name = "smallvec" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ecf3b85f68e8abaa7555aa5abdb1153079387e60b718283d732f03897fcfc86" - [[package]] name = "socket2" version = "0.3.10" @@ -3191,7 +3155,7 @@ dependencies = [ "itertools", "itoa", "lazy_static", - "log 0.4.6", + "log", "malloc_size_of", "malloc_size_of_derive", "matches", @@ -3201,7 +3165,6 @@ dependencies = [ "num-integer", "num-traits", "num_cpus", - "ordered-float", "owning_ref", "parking_lot", "precomputed-hash", @@ -3211,7 +3174,7 @@ dependencies = [ "serde", "servo_arc", "smallbitvec", - "smallvec 1.0.0", + "smallvec", "static_prefs", "style_derive", "style_traits", @@ -3233,9 +3196,9 @@ version = "0.0.1" dependencies = [ "darling", "derive_common", - "proc-macro2 1.0.5", - "quote 1.0.2", - "syn 1.0.5", + "proc-macro2", + "quote", + "syn", "synstructure", ] @@ -3267,12 +3230,12 @@ dependencies = [ "env_logger", "geckoservo", "libc", - "log 0.4.6", + "log", "malloc_size_of", "num-traits", "selectors", "size_of_test", - "smallvec 1.0.0", + "smallvec", "style", "style_traits", "to_shmem", @@ -3284,26 +3247,15 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c666f0fed8e1e20e057af770af9077d72f3d5a33157b8537c1475dd8ffd6d32b" -[[package]] -name = "syn" -version = "0.15.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66c8865bf5a7cbb662d8b011950060b3c8743dca141b054bf7195b20d314d8e2" -dependencies = [ - "proc-macro2 0.4.27", - "quote 0.6.11", - "unicode-xid 0.1.0", -] - [[package]] name = "syn" version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "66850e97125af79138385e9b88339cbcd037e3f28ceab8c5ad98e64f0f1f80bf" dependencies = [ - "proc-macro2 1.0.5", - "quote 1.0.2", - "unicode-xid 0.2.0", + "proc-macro2", + "quote", + "unicode-xid", ] [[package]] @@ -3312,33 +3264,17 @@ version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f085a5855930c0441ca1288cf044ea4aecf4f43a91668abdb870b4ba546a203" dependencies = [ - "proc-macro2 1.0.5", - "quote 1.0.2", - "syn 1.0.5", - "unicode-xid 0.2.0", + "proc-macro2", + "quote", + "syn", + "unicode-xid", ] [[package]] name = "target-lexicon" -version = "0.4.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b0ab4982b8945c35cc1c46a83a9094c414f6828a099ce5dcaa8ee2b04642dcb" -dependencies = [ - "failure", - "failure_derive", - "serde_json", -] - -[[package]] -name = "target-lexicon" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7975cb2c6f37d77b190bc5004a2bb015971464756fde9514651a525ada2a741a" -dependencies = [ - "failure", - "failure_derive", - "serde_json", -] +checksum = "6f4c118a7a38378f305a9e111fcb2f7f838c0be324bfb31a77ea04f7f6e684b4" [[package]] name = "tempfile" @@ -3412,9 +3348,9 @@ dependencies = [ [[package]] name = "thread_local" -version = "0.3.6" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6b53e329000edc2b34dbe8545fd20e55a333362d0a321909685a19bd28c3f1b" +checksum = "d40c6d1b69745a6ec6fb1ca717914848da4b44ae29d9b3080cbee91d72a69b14" dependencies = [ "lazy_static", ] @@ -3455,7 +3391,7 @@ dependencies = [ "cssparser", "servo_arc", "smallbitvec", - "smallvec 1.0.0", + "smallvec", "thin-slice", ] @@ -3465,9 +3401,9 @@ version = "0.0.1" dependencies = [ "darling", "derive_common", - "proc-macro2 1.0.5", - "quote 1.0.2", - "syn 1.0.5", + "proc-macro2", + "quote", + "syn", "synstructure", ] @@ -3490,7 +3426,7 @@ dependencies = [ "tokio-threadpool", "tokio-timer", "tokio-udp", - "tokio-uds 0.2.5", + "tokio-uds", ] [[package]] @@ -3513,7 +3449,7 @@ dependencies = [ "bytes", "futures", "iovec", - "log 0.4.6", + "log", "mio", "scoped-tls 0.1.0", "tokio", @@ -3562,7 +3498,7 @@ checksum = "a5c9635ee806f26d302b8baa1e145689a280d8f5aa8d0552e7344808da54cc21" dependencies = [ "bytes", "futures", - "log 0.4.6", + "log", ] [[package]] @@ -3572,7 +3508,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8703a5762ff6913510dc64272c714c4389ffd8c4b3cf602879b8bd14ff06b604" dependencies = [ "futures", - "log 0.4.6", + "log", "mio", "slab 0.4.1", "tokio-executor", @@ -3603,7 +3539,7 @@ dependencies = [ "crossbeam-queue", "crossbeam-utils", "futures", - "log 0.4.6", + "log", "num_cpus", "rand 0.6.5", "slab 0.4.1", @@ -3630,30 +3566,13 @@ checksum = "43eb534af6e8f37d43ab1b612660df14755c42bd003c5f8d2475ee78cc4600c0" dependencies = [ "bytes", "futures", - "log 0.4.6", + "log", "mio", "tokio-codec", "tokio-io", "tokio-reactor", ] -[[package]] -name = "tokio-uds" -version = "0.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65ae5d255ce739e8537221ed2942e0445f4b3b813daebac1c0050ddaaa3587f9" -dependencies = [ - "bytes", - "futures", - "iovec", - "libc", - "log 0.3.9", - "mio", - "mio-uds", - "tokio-core", - "tokio-io", -] - [[package]] name = "tokio-uds" version = "0.2.5" @@ -3664,7 +3583,7 @@ dependencies = [ "futures", "iovec", "libc", - "log 0.4.6", + "log", "mio", "mio-uds", "tokio-codec", @@ -3733,9 +3652,9 @@ dependencies = [ [[package]] name = "unicase" -version = "2.4.0" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a84e5511b2a947f3ae965dcb29b13b7b1691b6e7332cf5dbc1744138d5acb7f6" +checksum = "50f37be617794602aabbeee0be4f259dc1778fabe05e2d67ee8f79326d5cb4f6" dependencies = [ "version_check", ] @@ -3767,12 +3686,6 @@ version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "caaa9d531767d1ff2150b9332433f32a24622147e5ebb1f26409d5da67afd479" -[[package]] -name = "unicode-xid" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc" - [[package]] name = "unicode-xid" version = "0.2.0" @@ -3807,11 +3720,11 @@ checksum = "3df3561629a8bb4c57e5a2e4c43348d9e29c7c29d9b1c4c1f47166deca8f37ed" [[package]] name = "uuid" -version = "0.7.4" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90dbc611eb48397705a6b0f6e917da23ae517e4d127123d2cf7674206627d32a" +checksum = "9fde2f6a4bea1d6e007c4ad38c6839fa71cbb63b6dbf5b595aa38dc9b1093c11" dependencies = [ - "rand 0.6.5", + "rand 0.7.2", ] [[package]] @@ -3828,9 +3741,9 @@ checksum = "887b5b631c2ad01628bbbaa7dd4c869f80d3186688f8d0b6f58774fbe324988c" [[package]] name = "version_check" -version = "0.1.5" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "914b1a6776c4c929a602fafd8bc742e06365d4bcbe48c30f9cca5824f70dc9dd" +checksum = "078775d0255232fb988e6fccf26ddc9d1ac274299aaedcedce21c6f72cc533ce" [[package]] name = "void" @@ -3855,7 +3768,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "797464475f30ddb8830cc529aaaae648d581f99e2036a928877dfde027ddf6b3" dependencies = [ "futures", - "log 0.4.6", + "log", "try-lock", ] @@ -3870,7 +3783,7 @@ dependencies = [ "headers", "http", "hyper", - "log 0.4.6", + "log", "mime", "mime_guess", "scoped-tls 1.0.0", @@ -3897,7 +3810,7 @@ dependencies = [ "cookie", "http", "lazy_static", - "log 0.4.6", + "log", "regex", "serde", "serde_derive", @@ -3930,7 +3843,7 @@ dependencies = [ "image", "lazy_static", "libc", - "log 0.4.6", + "log", "malloc_size_of_derive", "num-traits", "plane-split", @@ -3939,7 +3852,7 @@ dependencies = [ "serde", "serde_json", "sha2", - "smallvec 0.6.10", + "smallvec", "svg_fmt", "thread_profiler", "time", @@ -3982,7 +3895,7 @@ dependencies = [ "foreign-types", "fxhash", "gleam", - "log 0.4.6", + "log", "nsstring", "num_cpus", "rayon", @@ -4005,15 +3918,15 @@ version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "75fb1417c7262d8bdc0f0a2b0e32607675c9315dcbb6fccfdf75ece04e01326a" dependencies = [ - "log 0.4.6", + "log", "url", ] [[package]] name = "weedle" -version = "0.8.0" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26a4c67f132386d965390b8a734d5d10adbcd30eb5cc74bd9229af8b83f10044" +checksum = "8a7d4f9feb723a800d8f7b74edc9fa44ff35cb0b2ec64886714362f423427f37" dependencies = [ "nom", ] @@ -4097,7 +4010,7 @@ dependencies = [ "byteorder", "bytes", "httparse", - "log 0.4.6", + "log", "mio", "mio-extras", "rand 0.6.5", @@ -4148,9 +4061,9 @@ name = "xpcom_macros" version = "0.1.0" dependencies = [ "lazy_static", - "proc-macro2 1.0.5", - "quote 1.0.2", - "syn 1.0.5", + "proc-macro2", + "quote", + "syn", ] [[package]] @@ -4163,7 +4076,7 @@ dependencies = [ "lazy_static", "libc", "lmdb-rkv", - "log 0.4.6", + "log", "moz_task", "nserror", "nsstring", diff --git a/Cargo.toml b/Cargo.toml index 324c82e09b..a21e00fda0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -35,7 +35,6 @@ exclude = [ "gfx/webrender_bindings", "media/mp4parse-rust/mp4parse", "media/mp4parse-rust/mp4parse_capi", - "media/mp4parse-rust/mp4parse_fallible", "xpcom/rust/gkrust_utils", ] diff --git a/accessible/android/DocAccessibleWrap.cpp b/accessible/android/DocAccessibleWrap.cpp index d2b3e4e005..7149f66357 100644 --- a/accessible/android/DocAccessibleWrap.cpp +++ b/accessible/android/DocAccessibleWrap.cpp @@ -117,7 +117,7 @@ void DocAccessibleWrap::CacheViewportCallback(nsITimer* aTimer, if (inViewAccs.Contains(acc->UniqueID())) { break; } - inViewAccs.Put(acc->UniqueID(), acc); + inViewAccs.Put(acc->UniqueID(), RefPtr{acc}); } } @@ -213,7 +213,7 @@ void DocAccessibleWrap::CacheFocusPath(AccessibleWrap* aAccessible) { acc->ActionCount(), name, textValue, nodeID, description, acc->CurValue(), acc->MinValue(), acc->MaxValue(), acc->Step(), attributes)); - mFocusPath.Put(acc->UniqueID(), acc); + mFocusPath.Put(acc->UniqueID(), RefPtr{acc}); } ipcDoc->SendBatch(eBatch_FocusPath, cacheData); @@ -223,7 +223,7 @@ void DocAccessibleWrap::CacheFocusPath(AccessibleWrap* aAccessible) { for (AccessibleWrap* acc = aAccessible; acc && acc != this->Parent(); acc = static_cast(acc->Parent())) { accessibles.AppendElement(acc); - mFocusPath.Put(acc->UniqueID(), acc); + mFocusPath.Put(acc->UniqueID(), RefPtr{acc}); } sessionAcc->ReplaceFocusPathCache(accessibles); diff --git a/accessible/aom/AccessibleNode.h b/accessible/aom/AccessibleNode.h index cea73daf4b..6509d87008 100644 --- a/accessible/aom/AccessibleNode.h +++ b/accessible/aom/AccessibleNode.h @@ -186,7 +186,7 @@ class AccessibleNode : public nsISupports, public nsWrapperCache { if (!aValue) { mRelationProperties.Remove(static_cast(aProperty)); } else { - mRelationProperties.Put(static_cast(aProperty), aValue); + mRelationProperties.Put(static_cast(aProperty), RefPtr{aValue}); } } diff --git a/accessible/base/AccEvent.cpp b/accessible/base/AccEvent.cpp index bca83e8ef5..524e5249bb 100644 --- a/accessible/base/AccEvent.cpp +++ b/accessible/base/AccEvent.cpp @@ -9,8 +9,8 @@ #include "xpcAccEvents.h" #include "States.h" -#include "mozilla/EventStateManager.h" #include "mozilla/dom/Selection.h" +#include "mozilla/dom/UserActivation.h" using namespace mozilla; using namespace mozilla::a11y; @@ -30,7 +30,7 @@ AccEvent::AccEvent(uint32_t aEventType, Accessible* aAccessible, EIsFromUserInput aIsFromUserInput, EEventRule aEventRule) : mEventType(aEventType), mEventRule(aEventRule), mAccessible(aAccessible) { if (aIsFromUserInput == eAutoDetect) - mIsFromUserInput = EventStateManager::IsHandlingUserInput(); + mIsFromUserInput = dom::UserActivation::IsHandlingUserInput(); else mIsFromUserInput = aIsFromUserInput == eFromUserInput ? true : false; } diff --git a/accessible/base/AccGroupInfo.h b/accessible/base/AccGroupInfo.h index 9382ae4231..2bf96bb1b3 100644 --- a/accessible/base/AccGroupInfo.h +++ b/accessible/base/AccGroupInfo.h @@ -15,7 +15,7 @@ namespace a11y { */ class AccGroupInfo { public: - ~AccGroupInfo() { MOZ_COUNT_DTOR(AccGroupInfo); } + MOZ_COUNTED_DTOR(AccGroupInfo) /** * Return 1-based position in the group. diff --git a/accessible/base/DocManager.cpp b/accessible/base/DocManager.cpp index 089110afcb..ef87a00320 100644 --- a/accessible/base/DocManager.cpp +++ b/accessible/base/DocManager.cpp @@ -125,7 +125,7 @@ xpcAccessibleDocument* DocManager::GetXPCDocument(DocAccessible* aDocument) { xpcAccessibleDocument* xpcDoc = mXPCDocumentCache.GetWeak(aDocument); if (!xpcDoc) { xpcDoc = new xpcAccessibleDocument(aDocument); - mXPCDocumentCache.Put(aDocument, xpcDoc); + mXPCDocumentCache.Put(aDocument, RefPtr{xpcDoc}); } return xpcDoc; } @@ -144,7 +144,7 @@ xpcAccessibleDocument* DocManager::GetXPCDocument(DocAccessibleParent* aDoc) { doc = new xpcAccessibleDocument(aDoc, Interfaces::DOCUMENT | Interfaces::HYPERTEXT); - sRemoteXPCDocumentCache->Put(aDoc, doc); + sRemoteXPCDocumentCache->Put(aDoc, RefPtr{doc}); return doc; } @@ -458,7 +458,7 @@ DocAccessible* DocManager::CreateDocOrRootAccessible(Document* aDocument) { : new DocAccessibleWrap(aDocument, presShell); // Cache the document accessible into document cache. - mDocAccessibleCache.Put(aDocument, docAcc); + mDocAccessibleCache.Put(aDocument, RefPtr{docAcc}); // Initialize the document accessible. docAcc->Init(); diff --git a/accessible/base/EventQueue.cpp b/accessible/base/EventQueue.cpp index 921399b80f..a169686d49 100644 --- a/accessible/base/EventQueue.cpp +++ b/accessible/base/EventQueue.cpp @@ -30,7 +30,9 @@ bool EventQueue::PushEvent(AccEvent* aEvent) { aEvent->Document() == mDocument, "Queued event belongs to another document!"); - if (!mEvents.AppendElement(aEvent)) return false; + // XXX(Bug 1631371) Check if this should use a fallible operation as it + // pretended earlier, or change the return type to void. + mEvents.AppendElement(aEvent); // Filter events. CoalesceEvents(); diff --git a/accessible/base/Logging.cpp b/accessible/base/Logging.cpp index c39712448a..2761689168 100644 --- a/accessible/base/Logging.cpp +++ b/accessible/base/Logging.cpp @@ -119,7 +119,7 @@ static void LogDocShellTree(dom::Document* aDocumentNode) { nsCOMPtr parentTreeItem; treeItem->GetInProcessParent(getter_AddRefs(parentTreeItem)); nsCOMPtr rootTreeItem; - treeItem->GetRootTreeItem(getter_AddRefs(rootTreeItem)); + treeItem->GetInProcessRootTreeItem(getter_AddRefs(rootTreeItem)); printf("docshell hierarchy, parent: %p, root: %p, is tab document: %s;", static_cast(parentTreeItem), static_cast(rootTreeItem), (nsCoreUtils::IsTabDocument(aDocumentNode) ? "yes" : "no")); diff --git a/accessible/base/MarkupMap.h b/accessible/base/MarkupMap.h index a45a2b8be3..6aa4ab011c 100644 --- a/accessible/base/MarkupMap.h +++ b/accessible/base/MarkupMap.h @@ -392,7 +392,7 @@ MARKUPMAP( [](Element* aElement, Accessible* aContext) -> Accessible* { return new HTMLOutputAccessible(aElement, aContext->Document()); }, - roles::SECTION, Attr(live, polite)) + roles::STATUSBAR, Attr(live, polite)) MARKUPMAP(p, nullptr, roles::PARAGRAPH) diff --git a/accessible/base/NotificationController.cpp b/accessible/base/NotificationController.cpp index afced0dc57..c5ad952c60 100644 --- a/accessible/base/NotificationController.cpp +++ b/accessible/base/NotificationController.cpp @@ -948,7 +948,7 @@ void NotificationController::EventMap::PutEvent(AccTreeMutationEvent* aEvent) { uint64_t addr = reinterpret_cast(aEvent->GetAccessible()); MOZ_ASSERT((addr & 0x3) == 0, "accessible is not 4 byte aligned"); addr |= type; - mTable.Put(addr, aEvent); + mTable.Put(addr, RefPtr{aEvent}); } AccTreeMutationEvent* NotificationController::EventMap::GetEvent( diff --git a/accessible/base/NotificationController.h b/accessible/base/NotificationController.h index 00e7a1f80b..18c2b4a3fc 100644 --- a/accessible/base/NotificationController.h +++ b/accessible/base/NotificationController.h @@ -197,7 +197,10 @@ class NotificationController final : public EventQueue, * Pend an accessible subtree relocation. */ void ScheduleRelocation(Accessible* aOwner) { - if (!mRelocations.Contains(aOwner) && mRelocations.AppendElement(aOwner)) { + if (!mRelocations.Contains(aOwner)) { + // XXX(Bug 1631371) Check if this should use a fallible operation as it + // pretended earlier, or change the return type to void. + mRelocations.AppendElement(aOwner); ScheduleProcessing(); } } @@ -233,8 +236,12 @@ class NotificationController final : public EventQueue, RefPtr notification = new TNotification(aInstance, aMethod, aArgs...); - if (notification && mNotifications.AppendElement(notification)) + if (notification) { + // XXX(Bug 1631371) Check if this should use a fallible operation as it + // pretended earlier. + mNotifications.AppendElement(notification); ScheduleProcessing(); + } } /** @@ -248,8 +255,12 @@ class NotificationController final : public EventQueue, Class* aInstance, typename TNotification::Callback aMethod) { RefPtr notification = new TNotification(aInstance, aMethod); - if (notification && mNotifications.AppendElement(notification)) + if (notification) { + // XXX(Bug 1631371) Check if this should use a fallible operation as it + // pretended earlier. + mNotifications.AppendElement(notification); ScheduleProcessing(); + } } template @@ -258,7 +269,10 @@ class NotificationController final : public EventQueue, Arg* aArg) { RefPtr notification = new TNotification(aInstance, aMethod, aArg); - if (notification && mNotifications.AppendElement(notification)) { + if (notification) { + // XXX(Bug 1631371) Check if this should use a fallible operation as it + // pretended earlier. + mNotifications.AppendElement(notification); ScheduleProcessing(); } } diff --git a/accessible/base/RoleMap.h b/accessible/base/RoleMap.h index 5e5d79146e..68e45fac2c 100644 --- a/accessible/base/RoleMap.h +++ b/accessible/base/RoleMap.h @@ -492,7 +492,7 @@ ROLE(SPINBUTTON, NSAccessibilityIncrementorRole, //Subroles: Increment/Decrement. ROLE_SYSTEM_SPINBUTTON, ROLE_SYSTEM_SPINBUTTON, - java::SessionAccessibility::CLASSNAME_VIEW, // A composite widget + java::SessionAccessibility::CLASSNAME_EDITTEXT, eNameFromValueRule) ROLE(DIAGRAM, diff --git a/accessible/base/StyleInfo.cpp b/accessible/base/StyleInfo.cpp index b215d8356e..2c6a18d936 100644 --- a/accessible/base/StyleInfo.cpp +++ b/accessible/base/StyleInfo.cpp @@ -19,15 +19,12 @@ StyleInfo::StyleInfo(dom::Element* aElement) : mElement(aElement) { void StyleInfo::Display(nsAString& aValue) { aValue.Truncate(); - Servo_GetPropertyValue(mComputedStyle, eCSSProperty_display, &aValue); + mComputedStyle->GetComputedPropertyValue(eCSSProperty_display, aValue); } void StyleInfo::TextAlign(nsAString& aValue) { aValue.Truncate(); - AppendASCIItoUTF16( - nsCSSProps::ValueToKeyword(mComputedStyle->StyleText()->mTextAlign, - nsCSSProps::kTextAlignKTable), - aValue); + mComputedStyle->GetComputedPropertyValue(eCSSProperty_text_align, aValue); } void StyleInfo::TextIndent(nsAString& aValue) { @@ -72,7 +69,23 @@ void StyleInfo::FormatColor(const nscolor& aValue, nsString& aFormattedValue) { void StyleInfo::FormatTextDecorationStyle(uint8_t aValue, nsAString& aFormattedValue) { - nsCSSKeyword keyword = nsCSSProps::ValueToKeywordEnum( - aValue, nsCSSProps::kTextDecorationStyleKTable); - AppendUTF8toUTF16(nsCSSKeywords::GetStringValue(keyword), aFormattedValue); + // TODO: When these are enum classes that rust also understands we should just + // make an FFI call here. + switch (aValue) { + case NS_STYLE_TEXT_DECORATION_STYLE_NONE: + return aFormattedValue.AssignASCII("-moz-none"); + case NS_STYLE_TEXT_DECORATION_STYLE_SOLID: + return aFormattedValue.AssignASCII("solid"); + case NS_STYLE_TEXT_DECORATION_STYLE_DOUBLE: + return aFormattedValue.AssignASCII("double"); + case NS_STYLE_TEXT_DECORATION_STYLE_DOTTED: + return aFormattedValue.AssignASCII("dotted"); + case NS_STYLE_TEXT_DECORATION_STYLE_DASHED: + return aFormattedValue.AssignASCII("dashed"); + case NS_STYLE_TEXT_DECORATION_STYLE_WAVY: + return aFormattedValue.AssignASCII("wavy"); + default: + MOZ_ASSERT_UNREACHABLE("Unknown decoration style"); + break; + } } diff --git a/accessible/base/nsAccUtils.cpp b/accessible/base/nsAccUtils.cpp index 065d27e769..b3bc48cd82 100644 --- a/accessible/base/nsAccUtils.cpp +++ b/accessible/base/nsAccUtils.cpp @@ -19,6 +19,7 @@ #include "nsIPersistentProperties2.h" #include "mozilla/a11y/PDocAccessibleChild.h" #include "mozilla/dom/Element.h" +#include "nsAccessibilityService.h" using namespace mozilla; using namespace mozilla::a11y; @@ -137,7 +138,11 @@ void nsAccUtils::SetLiveContainerAttributes( live); } else if (role) { GetLiveAttrValue(role->liveAttRule, live); + } else if (nsStaticAtom* value = GetAccService()->MarkupAttribute( + ancestor, nsGkAtoms::live)) { + value->ToString(live); } + if (!live.IsEmpty()) { SetAccAttr(aAttributes, nsGkAtoms::containerLive, live); if (role) { @@ -487,6 +492,9 @@ bool nsAccUtils::IsARIALive(const Accessible* aAccessible) { docLive); } else if (role) { GetLiveAttrValue(role->liveAttRule, docLive); + } else if (nsStaticAtom* value = GetAccService()->MarkupAttribute( + ancestor, nsGkAtoms::live)) { + value->ToString(docLive); } if (!docLive.IsEmpty()) { live = docLive; diff --git a/accessible/base/nsAccessibilityService.cpp b/accessible/base/nsAccessibilityService.cpp index 9f3d651a9a..ee7cfffcb6 100644 --- a/accessible/base/nsAccessibilityService.cpp +++ b/accessible/base/nsAccessibilityService.cpp @@ -335,6 +335,25 @@ void nsAccessibilityService::FireAccessibleEvent(uint32_t aEvent, nsEventShell::FireEvent(aEvent, aTarget); } +void nsAccessibilityService::NotifyOfImageSizeAvailable( + mozilla::PresShell* aPresShell, nsIContent* aContent) { + // If the size of an image is initially unknown, it will have the invisible + // state (and a 0 width and height), causing it to be ignored by some screen + // readers. Fire a state change event to update any client caches. + DocAccessible* document = GetDocAccessible(aPresShell); + if (document) { + Accessible* accessible = document->GetAccessible(aContent); + // The accessible may not be an ImageAccessible if this was previously a + // broken image with an alt attribute. In that case, do nothing; the + // accessible will be recreated if this becomes a valid image. + if (accessible && accessible->IsImage()) { + RefPtr event = + new AccStateChangeEvent(accessible, states::INVISIBLE, false); + document->FireDelayedEvent(event); + } + } +} + Accessible* nsAccessibilityService::GetRootDocumentAccessible( PresShell* aPresShell, bool aCanCreate) { PresShell* presShell = aPresShell; @@ -343,7 +362,7 @@ Accessible* nsAccessibilityService::GetRootDocumentAccessible( nsCOMPtr treeItem(documentNode->GetDocShell()); if (treeItem) { nsCOMPtr rootTreeItem; - treeItem->GetRootTreeItem(getter_AddRefs(rootTreeItem)); + treeItem->GetInProcessRootTreeItem(getter_AddRefs(rootTreeItem)); if (treeItem != rootTreeItem) { nsCOMPtr docShell(do_QueryInterface(rootTreeItem)); presShell = docShell->GetPresShell(); diff --git a/accessible/base/nsAccessibilityService.h b/accessible/base/nsAccessibilityService.h index 5ecd7ab608..8800f07f2b 100644 --- a/accessible/base/nsAccessibilityService.h +++ b/accessible/base/nsAccessibilityService.h @@ -222,6 +222,15 @@ class nsAccessibilityService final : public mozilla::a11y::DocManager, void FireAccessibleEvent(uint32_t aEvent, Accessible* aTarget); + /** + * Notify accessibility that the size has become available for an image. + * This occurs when the size of an image is initially not known, but we've + * now loaded enough data to know the size. + * Called by layout. + */ + void NotifyOfImageSizeAvailable(mozilla::PresShell* aPresShell, + nsIContent* aContent); + // nsAccessibiltiyService /** @@ -246,6 +255,25 @@ class nsAccessibilityService final : public mozilla::a11y::DocManager, return markupMap ? markupMap->role : mozilla::a11y::roles::NOTHING; } + /** + * Return the associated value for a given attribute if + * it appears in the MarkupMap. Otherwise, it returns null. + */ + nsStaticAtom* MarkupAttribute(const nsIContent* aContent, + nsStaticAtom* aAtom) const { + const mozilla::a11y::HTMLMarkupMapInfo* markupMap = + mHTMLMarkupMap.Get(aContent->NodeInfo()->NameAtom()); + if (markupMap) { + for (size_t i = 0; i < mozilla::ArrayLength(markupMap->attrs); i++) { + const mozilla::a11y::MarkupAttrInfo* info = markupMap->attrs + i; + if (info->name == aAtom) { + return info->value; + } + } + } + return nullptr; + } + /** * Set the object attribute defined by markup for the given element. */ diff --git a/accessible/base/nsCoreUtils.cpp b/accessible/base/nsCoreUtils.cpp index e4d604c15c..a16e2b0cd3 100644 --- a/accessible/base/nsCoreUtils.cpp +++ b/accessible/base/nsCoreUtils.cpp @@ -364,7 +364,7 @@ bool nsCoreUtils::IsTabDocument(Document* aDocumentNode) { // Parent of docshell for tab document running in chrome process is root. nsCOMPtr rootTreeItem; - treeItem->GetRootTreeItem(getter_AddRefs(rootTreeItem)); + treeItem->GetInProcessRootTreeItem(getter_AddRefs(rootTreeItem)); return parentTreeItem == rootTreeItem; } diff --git a/accessible/base/nsCoreUtils.h b/accessible/base/nsCoreUtils.h index 0fb641465a..b92b3fb716 100644 --- a/accessible/base/nsCoreUtils.h +++ b/accessible/base/nsCoreUtils.h @@ -142,8 +142,8 @@ class nsCoreUtils { * @param aRange the range to scroll to * @param aScrollType the place a range should be scrolled to */ - static nsresult ScrollSubstringTo(nsIFrame* aFrame, nsRange* aRange, - uint32_t aScrollType); + MOZ_CAN_RUN_SCRIPT_BOUNDARY static nsresult ScrollSubstringTo( + nsIFrame* aFrame, nsRange* aRange, uint32_t aScrollType); /** Helper method to scroll range into view, used for implementation of * nsIAccessibleText::scrollSubstringTo[Point](). @@ -155,9 +155,9 @@ class nsCoreUtils { * @param aHorizontal how to align horizontally, specified in percents, * and when. */ - static nsresult ScrollSubstringTo(nsIFrame* aFrame, nsRange* aRange, - mozilla::ScrollAxis aVertical, - mozilla::ScrollAxis aHorizontal); + MOZ_CAN_RUN_SCRIPT_BOUNDARY static nsresult ScrollSubstringTo( + nsIFrame* aFrame, nsRange* aRange, mozilla::ScrollAxis aVertical, + mozilla::ScrollAxis aHorizontal); /** * Scrolls the given frame to the point, used for implememntation of diff --git a/accessible/generic/Accessible.cpp b/accessible/generic/Accessible.cpp index 131a46ef44..1ff146a7bb 100644 --- a/accessible/generic/Accessible.cpp +++ b/accessible/generic/Accessible.cpp @@ -65,7 +65,6 @@ #include "mozilla/Assertions.h" #include "mozilla/BasicEvents.h" #include "mozilla/ErrorResult.h" -#include "mozilla/EventStateManager.h" #include "mozilla/EventStates.h" #include "mozilla/FloatingPoint.h" #include "mozilla/MouseEvents.h" @@ -79,6 +78,7 @@ #include "mozilla/dom/HTMLBodyElement.h" #include "mozilla/dom/KeyboardEventBinding.h" #include "mozilla/dom/TreeWalker.h" +#include "mozilla/dom/UserActivation.h" using namespace mozilla; using namespace mozilla::a11y; @@ -736,7 +736,7 @@ void Accessible::TakeFocus() const { nsFocusManager* fm = nsFocusManager::GetFocusManager(); if (fm) { - AutoHandlingUserInputStatePusher inputStatePusher(true); + dom::AutoHandlingUserInputStatePusher inputStatePusher(true); // XXXbz: Can we actually have a non-element content here? RefPtr element = focusContent->IsElement() ? focusContent->AsElement() : nullptr; @@ -2074,7 +2074,7 @@ RootAccessible* Accessible::RootAccessible() const { } nsCOMPtr root; - docShell->GetRootTreeItem(getter_AddRefs(root)); + docShell->GetInProcessRootTreeItem(getter_AddRefs(root)); NS_ASSERTION(root, "No root content tree item"); if (!root) { return nullptr; @@ -2106,10 +2106,13 @@ bool Accessible::InsertChildAt(uint32_t aIndex, Accessible* aChild) { if (!aChild) return false; if (aIndex == mChildren.Length()) { - if (!mChildren.AppendElement(aChild)) return false; - + // XXX(Bug 1631371) Check if this should use a fallible operation as it + // pretended earlier. + mChildren.AppendElement(aChild); } else { - if (!mChildren.InsertElementAt(aIndex, aChild)) return false; + // XXX(Bug 1631371) Check if this should use a fallible operation as it + // pretended earlier. + mChildren.InsertElementAt(aIndex, aChild); MOZ_ASSERT(mStateFlags & eKidsMutating, "Illicit children change"); diff --git a/accessible/generic/DocAccessible-inl.h b/accessible/generic/DocAccessible-inl.h index b65ac7a299..1ac54ed4e1 100644 --- a/accessible/generic/DocAccessible-inl.h +++ b/accessible/generic/DocAccessible-inl.h @@ -110,8 +110,10 @@ inline void DocAccessible::NotifyOfLoad(uint32_t aLoadEventType) { } inline void DocAccessible::MaybeNotifyOfValueChange(Accessible* aAccessible) { - if (aAccessible->IsCombobox() || aAccessible->Role() == roles::ENTRY) + if (aAccessible->IsCombobox() || aAccessible->Role() == roles::ENTRY || + aAccessible->Role() == roles::SPINBUTTON) { FireDelayedEvent(nsIAccessibleEvent::EVENT_TEXT_VALUE_CHANGE, aAccessible); + } } inline Accessible* DocAccessible::GetAccessibleEvenIfNotInMapOrContainer( diff --git a/accessible/generic/DocAccessible.cpp b/accessible/generic/DocAccessible.cpp index 1f0ac4abfe..08db4e89db 100644 --- a/accessible/generic/DocAccessible.cpp +++ b/accessible/generic/DocAccessible.cpp @@ -35,15 +35,16 @@ #include "nsFocusManager.h" #include "mozilla/ArrayUtils.h" #include "mozilla/Assertions.h" -#include "mozilla/EventStateManager.h" #include "mozilla/EventStates.h" #include "mozilla/HTMLEditor.h" #include "mozilla/PresShell.h" #include "mozilla/TextEditor.h" +#include "mozilla/dom/AncestorIterator.h" #include "mozilla/dom/BrowserChild.h" #include "mozilla/dom/DocumentType.h" #include "mozilla/dom/Element.h" #include "mozilla/dom/MutationEventBinding.h" +#include "mozilla/dom/UserActivation.h" using namespace mozilla; using namespace mozilla::a11y; @@ -290,7 +291,7 @@ void DocAccessible::TakeFocus() const { // Focus the document. nsFocusManager* fm = nsFocusManager::GetFocusManager(); RefPtr newFocus; - AutoHandlingUserInputStatePusher inputStatePusher(true); + dom::AutoHandlingUserInputStatePusher inputStatePusher(true); fm->MoveFocus(mDocumentNode->GetWindow(), nullptr, nsFocusManager::MOVEFOCUS_ROOT, 0, getter_AddRefs(newFocus)); } @@ -1136,24 +1137,20 @@ Accessible* DocAccessible::GetAccessibleOrContainer( return nullptr; } - nsINode* currNode = nullptr; - if (aNode->IsShadowRoot()) { + nsINode* start = aNode; + if (auto* shadowRoot = dom::ShadowRoot::FromNode(aNode)) { // This can happen, for example, when called within // SelectionManager::ProcessSelectionChanged due to focusing a direct // child of a shadow root. // GetFlattenedTreeParent works on children of a shadow root, but not the // shadow root itself. - const dom::ShadowRoot* shadowRoot = dom::ShadowRoot::FromNode(aNode); - currNode = shadowRoot->GetHost(); - if (!currNode) { + start = shadowRoot->GetHost(); + if (!start) { return nullptr; } - } else { - currNode = aNode; } - MOZ_ASSERT(currNode); - for (; currNode; currNode = currNode->GetFlattenedTreeParentNode()) { + for (nsINode* currNode : dom::InclusiveFlatTreeAncestors(*start)) { // No container if is inside of aria-hidden subtree. if (aNoContainerIfPruned && currNode->IsElement() && aria::HasDefinedARIAHidden(currNode->AsElement())) { @@ -1218,7 +1215,7 @@ void DocAccessible::BindToDocument(Accessible* aAccessible, mNodeToAccessibleMap.Put(aAccessible->GetNode(), aAccessible); // Put into unique ID cache. - mAccessibleCache.Put(aAccessible->UniqueID(), aAccessible); + mAccessibleCache.Put(aAccessible->UniqueID(), RefPtr{aAccessible}); aAccessible->SetRoleMapEntry(aRoleMapEntry); @@ -1639,7 +1636,7 @@ class InsertIterator final { MOZ_ASSERT(aNodes, "No nodes to search for accessible elements"); MOZ_COUNT_CTOR(InsertIterator); } - ~InsertIterator() { MOZ_COUNT_DTOR(InsertIterator); } + MOZ_COUNTED_DTOR(InsertIterator) Accessible* Context() const { return mWalker.Context(); } Accessible* Child() const { return mChild; } @@ -2287,7 +2284,7 @@ bool DocAccessible::IsLoadEventTarget() const { // Return true if it's either: // a) tab document; nsCOMPtr rootTreeItem; - treeItem->GetRootTreeItem(getter_AddRefs(rootTreeItem)); + treeItem->GetInProcessRootTreeItem(getter_AddRefs(rootTreeItem)); if (parentTreeItem == rootTreeItem) return true; // b) frame/iframe document and its parent document is not in loading state diff --git a/accessible/generic/DocAccessible.h b/accessible/generic/DocAccessible.h index f35449664a..3264e282a9 100644 --- a/accessible/generic/DocAccessible.h +++ b/accessible/generic/DocAccessible.h @@ -432,7 +432,10 @@ class DocAccessible : public HyperTextAccessibleWrap, * accessibles. */ bool AppendChildDocument(DocAccessible* aChildDocument) { - return mChildDocuments.AppendElement(aChildDocument); + // XXX(Bug 1631371) Check if this should use a fallible operation as it + // pretended earlier, or change the return type to void. + mChildDocuments.AppendElement(aChildDocument); + return true; } /** diff --git a/accessible/generic/HyperTextAccessible.cpp b/accessible/generic/HyperTextAccessible.cpp index e30dd169cc..2520b1c47b 100644 --- a/accessible/generic/HyperTextAccessible.cpp +++ b/accessible/generic/HyperTextAccessible.cpp @@ -68,7 +68,7 @@ role HyperTextAccessible::NativeRole() const { uint64_t HyperTextAccessible::NativeState() const { uint64_t states = AccessibleWrap::NativeState(); - if (mContent->AsElement()->State().HasState(NS_EVENT_STATE_MOZ_READWRITE)) { + if (mContent->AsElement()->State().HasState(NS_EVENT_STATE_READWRITE)) { states |= states::EDITABLE; } else if (mContent->IsHTMLElement(nsGkAtoms::article)) { @@ -324,7 +324,7 @@ static nsIContent* GetElementAsContentOf(nsINode* aNode) { bool HyperTextAccessible::OffsetsToDOMRange(int32_t aStartOffset, int32_t aEndOffset, - nsRange* aRange) { + nsRange* aRange) const { DOMPoint startPoint = OffsetToDOMPoint(aStartOffset); if (!startPoint.node) return false; @@ -357,7 +357,7 @@ bool HyperTextAccessible::OffsetsToDOMRange(int32_t aStartOffset, return true; } -DOMPoint HyperTextAccessible::OffsetToDOMPoint(int32_t aOffset) { +DOMPoint HyperTextAccessible::OffsetToDOMPoint(int32_t aOffset) const { // 0 offset is valid even if no children. In this case the associated editor // is empty so return a DOM point for editor root element. if (aOffset == 0) { @@ -404,7 +404,7 @@ DOMPoint HyperTextAccessible::OffsetToDOMPoint(int32_t aOffset) { } DOMPoint HyperTextAccessible::ClosestNotGeneratedDOMPoint( - const DOMPoint& aDOMPoint, nsIContent* aElementContent) { + const DOMPoint& aDOMPoint, nsIContent* aElementContent) const { MOZ_ASSERT(aDOMPoint.node, "The node must not be null"); // ::before pseudo element @@ -521,8 +521,10 @@ uint32_t HyperTextAccessible::FindOffset(uint32_t aOffset, nsresult rv = frameAtOffset->PeekOffset(&pos); // PeekOffset fails on last/first lines of the text in certain cases. + bool fallBackToSelectEndLine = false; if (NS_FAILED(rv) && aAmount == eSelectLine) { - pos.mAmount = (aDirection == eDirNext) ? eSelectEndLine : eSelectBeginLine; + fallBackToSelectEndLine = aDirection == eDirNext; + pos.mAmount = fallBackToSelectEndLine ? eSelectEndLine : eSelectBeginLine; frameAtOffset->PeekOffset(&pos); } if (!pos.mResultContent) { @@ -534,6 +536,14 @@ uint32_t HyperTextAccessible::FindOffset(uint32_t aOffset, uint32_t hyperTextOffset = DOMPointToOffset( pos.mResultContent, pos.mContentOffset, aDirection == eDirNext); + if (fallBackToSelectEndLine && IsLineEndCharAt(hyperTextOffset)) { + // We used eSelectEndLine, but the caller requested eSelectLine. + // If there's a '\n' at the end of the line, eSelectEndLine will stop + // on it rather than after it. This is not what we want, since the caller + // wants the next line, not the same line. + ++hyperTextOffset; + } + if (aDirection == eDirPrevious) { // If we reached the end during search, this means we didn't find the DOM // point and we're actually at the start of the paragraph @@ -1260,13 +1270,15 @@ nsresult HyperTextAccessible::SetSelectionRange(int32_t aStartPos, // some input controls if (isFocusable) TakeFocus(); - dom::Selection* domSel = DOMSelection(); + RefPtr domSel = DOMSelection(); NS_ENSURE_STATE(domSel); // Set up the selection. - for (int32_t idx = domSel->RangeCount() - 1; idx > 0; idx--) - domSel->RemoveRangeAndUnselectFramesAndNotifyListeners( - *domSel->GetRangeAt(idx), IgnoreErrors()); + for (int32_t idx = domSel->RangeCount() - 1; idx > 0; idx--) { + RefPtr range{domSel->GetRangeAt(idx)}; + domSel->RemoveRangeAndUnselectFramesAndNotifyListeners(*range, + IgnoreErrors()); + } SetSelectionBoundsAt(0, aStartPos, aEndPos); // Make sure it is visible @@ -1552,15 +1564,16 @@ bool HyperTextAccessible::SetSelectionBoundsAt(int32_t aSelectionNum, return false; } - dom::Selection* domSel = DOMSelection(); + RefPtr domSel = DOMSelection(); if (!domSel) return false; RefPtr range; uint32_t rangeCount = domSel->RangeCount(); - if (aSelectionNum == static_cast(rangeCount)) - range = new nsRange(mContent); - else + if (aSelectionNum == static_cast(rangeCount)) { + range = nsRange::Create(mContent); + } else { range = domSel->GetRangeAt(aSelectionNum); + } if (!range) return false; @@ -1589,22 +1602,23 @@ bool HyperTextAccessible::SetSelectionBoundsAt(int32_t aSelectionNum, } bool HyperTextAccessible::RemoveFromSelection(int32_t aSelectionNum) { - dom::Selection* domSel = DOMSelection(); + RefPtr domSel = DOMSelection(); if (!domSel) return false; if (aSelectionNum < 0 || aSelectionNum >= static_cast(domSel->RangeCount())) return false; - domSel->RemoveRangeAndUnselectFramesAndNotifyListeners( - *domSel->GetRangeAt(aSelectionNum), IgnoreErrors()); + const RefPtr range{domSel->GetRangeAt(aSelectionNum)}; + domSel->RemoveRangeAndUnselectFramesAndNotifyListeners(*range, + IgnoreErrors()); return true; } void HyperTextAccessible::ScrollSubstringTo(int32_t aStartOffset, int32_t aEndOffset, uint32_t aScrollType) { - RefPtr range = new nsRange(mContent); + RefPtr range = nsRange::Create(mContent); if (OffsetsToDOMRange(aStartOffset, aEndOffset, range)) nsCoreUtils::ScrollSubstringTo(GetFrame(), range, aScrollType); } @@ -1619,7 +1633,7 @@ void HyperTextAccessible::ScrollSubstringToPoint(int32_t aStartOffset, nsIntPoint coords = nsAccUtils::ConvertToScreenCoords(aX, aY, aCoordinateType, this); - RefPtr range = new nsRange(mContent); + RefPtr range = nsRange::Create(mContent); if (!OffsetsToDOMRange(aStartOffset, aEndOffset, range)) return; nsPresContext* presContext = frame->PresContext(); @@ -1683,7 +1697,7 @@ void HyperTextAccessible::SelectionRanges( aRanges->SetCapacity(sel->RangeCount()); for (uint32_t idx = 0; idx < sel->RangeCount(); idx++) { - nsRange* DOMRange = sel->GetRangeAt(idx); + const nsRange* DOMRange = sel->GetRangeAt(idx); HyperTextAccessible* startContainer = nsAccUtils::GetTextContainer(DOMRange->GetStartContainer()); HyperTextAccessible* endContainer = @@ -2003,7 +2017,7 @@ void HyperTextAccessible::GetSpellTextAttr( uint32_t startOffset = 0, endOffset = 0; for (int32_t idx = 0; idx < rangeCount; idx++) { - nsRange* range = domSel->GetRangeAt(idx); + const nsRange* range = domSel->GetRangeAt(idx); if (range->Collapsed()) continue; // See if the point comes after the range in which case we must continue in @@ -2057,7 +2071,7 @@ void HyperTextAccessible::GetSpellTextAttr( endOffset = DOMPointToOffset(startNode, startNodeOffset); if (idx > 0) { - nsRange* prevRange = domSel->GetRangeAt(idx - 1); + const nsRange* prevRange = domSel->GetRangeAt(idx - 1); startOffset = DOMPointToOffset(prevRange->GetEndContainer(), prevRange->EndOffset()); } @@ -2077,7 +2091,7 @@ void HyperTextAccessible::GetSpellTextAttr( // the point is not in a range, that we do not need to compute an end offset, // and that we should use the end offset of the last range to compute the // start offset of the text attribute range. - nsRange* prevRange = domSel->GetRangeAt(rangeCount - 1); + const nsRange* prevRange = domSel->GetRangeAt(rangeCount - 1); startOffset = DOMPointToOffset(prevRange->GetEndContainer(), prevRange->EndOffset()); diff --git a/accessible/generic/HyperTextAccessible.h b/accessible/generic/HyperTextAccessible.h index d2d35b73e1..694764d1c6 100644 --- a/accessible/generic/HyperTextAccessible.h +++ b/accessible/generic/HyperTextAccessible.h @@ -142,7 +142,7 @@ class HyperTextAccessible : public AccessibleWrap { * @return true if conversion was successful */ bool OffsetsToDOMRange(int32_t aStartOffset, int32_t aEndOffset, - nsRange* aRange); + nsRange* aRange) const; /** * Convert the given offset into DOM point. @@ -151,7 +151,7 @@ class HyperTextAccessible : public AccessibleWrap { * if before embedded object then (parent node, indexInParent), if after then * (parent node, indexInParent + 1). */ - DOMPoint OffsetToDOMPoint(int32_t aOffset); + DOMPoint OffsetToDOMPoint(int32_t aOffset) const; /** * Return true if the used ARIA role (if any) allows the hypertext accessible @@ -340,8 +340,10 @@ class HyperTextAccessible : public AccessibleWrap { * Changes the start and end offset of the specified selection. * @return true if succeeded */ - bool SetSelectionBoundsAt(int32_t aSelectionNum, int32_t aStartOffset, - int32_t aEndOffset); + // TODO: annotate this with `MOZ_CAN_RUN_SCRIPT` instead. + MOZ_CAN_RUN_SCRIPT_BOUNDARY bool SetSelectionBoundsAt(int32_t aSelectionNum, + int32_t aStartOffset, + int32_t aEndOffset); /** * Adds a selection bounded by the specified offsets. @@ -353,7 +355,8 @@ class HyperTextAccessible : public AccessibleWrap { * Removes the specified selection. * @return true if succeeded */ - bool RemoveFromSelection(int32_t aSelectionNum); + // TODO: annotate this with `MOZ_CAN_RUN_SCRIPT` instead. + MOZ_CAN_RUN_SCRIPT_BOUNDARY bool RemoveFromSelection(int32_t aSelectionNum); /** * Scroll the given text range into view. @@ -507,7 +510,9 @@ class HyperTextAccessible : public AccessibleWrap { void GetSelectionDOMRanges(SelectionType aSelectionType, nsTArray* aRanges); - nsresult SetSelectionRange(int32_t aStartPos, int32_t aEndPos); + // TODO: annotate this with `MOZ_CAN_RUN_SCRIPT` instead. + MOZ_CAN_RUN_SCRIPT_BOUNDARY nsresult SetSelectionRange(int32_t aStartPos, + int32_t aEndPos); /** * Convert the given DOM point to a DOM point in non-generated contents. @@ -524,7 +529,7 @@ class HyperTextAccessible : public AccessibleWrap { * contents. */ DOMPoint ClosestNotGeneratedDOMPoint(const DOMPoint& aDOMPoint, - nsIContent* aElementContent); + nsIContent* aElementContent) const; // Helpers nsresult GetDOMPointByFrameOffset(nsIFrame* aFrame, int32_t aOffset, diff --git a/accessible/generic/ImageAccessible.cpp b/accessible/generic/ImageAccessible.cpp index 8a1968a182..46441a57cd 100644 --- a/accessible/generic/ImageAccessible.cpp +++ b/accessible/generic/ImageAccessible.cpp @@ -47,13 +47,30 @@ uint64_t ImageAccessible::NativeState() const { content->GetRequest(nsIImageLoadingContent::CURRENT_REQUEST, getter_AddRefs(imageRequest)); - nsCOMPtr imgContainer; - if (imageRequest) imageRequest->GetImage(getter_AddRefs(imgContainer)); + if (imageRequest) { + nsCOMPtr imgContainer; + imageRequest->GetImage(getter_AddRefs(imgContainer)); + if (imgContainer) { + bool animated = false; + imgContainer->GetAnimated(&animated); + if (animated) { + state |= states::ANIMATED; + } + } - if (imgContainer) { - bool animated = false; - imgContainer->GetAnimated(&animated); - if (animated) state |= states::ANIMATED; + nsIFrame* frame = GetFrame(); + MOZ_ASSERT(!frame || frame->AccessibleType() == eImageType || + frame->AccessibleType() == a11y::eHTMLImageMapType); + if (frame && !(frame->GetStateBits() & IMAGE_SIZECONSTRAINED)) { + uint32_t status = imgIRequest::STATUS_NONE; + imageRequest->GetImageStatus(&status); + if (!(status & imgIRequest::STATUS_SIZE_AVAILABLE)) { + // The size of this image hasn't been constrained and we haven't loaded + // enough of the image to know its size yet. This means it currently + // has 0 width and height. + state |= states::INVISIBLE; + } + } } return state; diff --git a/accessible/html/HTMLFormControlAccessible.cpp b/accessible/html/HTMLFormControlAccessible.cpp index 09584d6e52..f75a66b43e 100644 --- a/accessible/html/HTMLFormControlAccessible.cpp +++ b/accessible/html/HTMLFormControlAccessible.cpp @@ -459,7 +459,7 @@ Accessible* HTMLFileInputAccessible::CurrentItem() const { role HTMLSpinnerAccessible::NativeRole() const { return roles::SPINBUTTON; } void HTMLSpinnerAccessible::Value(nsString& aValue) const { - AccessibleWrap::Value(aValue); + HTMLTextFieldAccessible::Value(aValue); if (!aValue.IsEmpty()) return; // Pass NonSystem as the caller type, to be safe. We don't expect to have a @@ -468,28 +468,28 @@ void HTMLSpinnerAccessible::Value(nsString& aValue) const { } double HTMLSpinnerAccessible::MaxValue() const { - double value = AccessibleWrap::MaxValue(); + double value = HTMLTextFieldAccessible::MaxValue(); if (!IsNaN(value)) return value; return HTMLInputElement::FromNode(mContent)->GetMaximum().toDouble(); } double HTMLSpinnerAccessible::MinValue() const { - double value = AccessibleWrap::MinValue(); + double value = HTMLTextFieldAccessible::MinValue(); if (!IsNaN(value)) return value; return HTMLInputElement::FromNode(mContent)->GetMinimum().toDouble(); } double HTMLSpinnerAccessible::Step() const { - double value = AccessibleWrap::Step(); + double value = HTMLTextFieldAccessible::Step(); if (!IsNaN(value)) return value; return HTMLInputElement::FromNode(mContent)->GetStep().toDouble(); } double HTMLSpinnerAccessible::CurValue() const { - double value = AccessibleWrap::CurValue(); + double value = HTMLTextFieldAccessible::CurValue(); if (!IsNaN(value)) return value; return HTMLInputElement::FromNode(mContent)->GetValueAsDecimal().toDouble(); diff --git a/accessible/html/HTMLFormControlAccessible.h b/accessible/html/HTMLFormControlAccessible.h index 7a10b88ec0..80efad908e 100644 --- a/accessible/html/HTMLFormControlAccessible.h +++ b/accessible/html/HTMLFormControlAccessible.h @@ -62,7 +62,7 @@ class HTMLButtonAccessible : public HyperTextAccessibleWrap { * Accessible for HTML input@type="text", input@type="password", textarea and * other HTML text controls. */ -class HTMLTextFieldAccessible final : public HyperTextAccessibleWrap { +class HTMLTextFieldAccessible : public HyperTextAccessibleWrap { public: enum { eAction_Click = 0 }; @@ -128,10 +128,10 @@ class HTMLFileInputAccessible : public HyperTextAccessibleWrap { /** * Used for HTML input@type="number". */ -class HTMLSpinnerAccessible : public AccessibleWrap { +class HTMLSpinnerAccessible final : public HTMLTextFieldAccessible { public: HTMLSpinnerAccessible(nsIContent* aContent, DocAccessible* aDoc) - : AccessibleWrap(aContent, aDoc) { + : HTMLTextFieldAccessible(aContent, aDoc) { mStateFlags |= eHasNumericValue; } diff --git a/accessible/html/HTMLListAccessible.cpp b/accessible/html/HTMLListAccessible.cpp index a9db22a5d9..9bbc6c3c75 100644 --- a/accessible/html/HTMLListAccessible.cpp +++ b/accessible/html/HTMLListAccessible.cpp @@ -9,7 +9,7 @@ #include "Role.h" #include "States.h" -#include "nsContainerFrame.h" +#include "nsBulletFrame.h" #include "nsLayoutUtils.h" using namespace mozilla; @@ -36,10 +36,14 @@ HTMLLIAccessible::HTMLLIAccessible(nsIContent* aContent, DocAccessible* aDoc) : HyperTextAccessibleWrap(aContent, aDoc), mBullet(nullptr) { mType = eHTMLLiType; - if (nsLayoutUtils::GetMarkerFrame(aContent)) { - mBullet = new HTMLListBulletAccessible(mContent, mDoc); - Document()->BindToDocument(mBullet, nullptr); - AppendChild(mBullet); + if (nsBulletFrame* bulletFrame = + do_QueryFrame(nsLayoutUtils::GetMarkerFrame(aContent))) { + const nsStyleList* styleList = bulletFrame->StyleList(); + if (styleList->GetListStyleImage() || !styleList->mCounterStyle.IsNone()) { + mBullet = new HTMLListBulletAccessible(mContent, mDoc); + Document()->BindToDocument(mBullet, nullptr); + AppendChild(mBullet); + } } } @@ -123,10 +127,20 @@ ENameValueFlag HTMLListBulletAccessible::Name(nsString& aName) const { aName.Truncate(); // Native anonymous content, ARIA can't be used. Get list bullet text. - if (nsContainerFrame* frame = do_QueryFrame(mContent->GetPrimaryFrame())) { - frame->GetSpokenMarkerText(aName); + nsBulletFrame* frame = do_QueryFrame(GetFrame()); + if (!frame) { + return eNameOK; } + if (frame->StyleList()->GetListStyleImage()) { + // Bullet is an image, so use default bullet character. + const char16_t kDiscCharacter = 0x2022; + aName.Assign(kDiscCharacter); + aName.Append(' '); + return eNameOK; + } + + frame->GetSpokenText(aName); return eNameOK; } diff --git a/accessible/html/HTMLTableAccessible.cpp b/accessible/html/HTMLTableAccessible.cpp index ea70fb6905..4224466905 100644 --- a/accessible/html/HTMLTableAccessible.cpp +++ b/accessible/html/HTMLTableAccessible.cpp @@ -658,36 +658,36 @@ bool HTMLTableAccessible::IsCellSelected(uint32_t aRowIdx, uint32_t aColIdx) { void HTMLTableAccessible::SelectRow(uint32_t aRowIdx) { DebugOnly rv = - RemoveRowsOrColumnsFromSelection(aRowIdx, TableSelection::Row, true); + RemoveRowsOrColumnsFromSelection(aRowIdx, TableSelectionMode::Row, true); NS_ASSERTION(NS_SUCCEEDED(rv), "RemoveRowsOrColumnsFromSelection() Shouldn't fail!"); - AddRowOrColumnToSelection(aRowIdx, TableSelection::Row); + AddRowOrColumnToSelection(aRowIdx, TableSelectionMode::Row); } void HTMLTableAccessible::SelectCol(uint32_t aColIdx) { - DebugOnly rv = - RemoveRowsOrColumnsFromSelection(aColIdx, TableSelection::Column, true); + DebugOnly rv = RemoveRowsOrColumnsFromSelection( + aColIdx, TableSelectionMode::Column, true); NS_ASSERTION(NS_SUCCEEDED(rv), "RemoveRowsOrColumnsFromSelection() Shouldn't fail!"); - AddRowOrColumnToSelection(aColIdx, TableSelection::Column); + AddRowOrColumnToSelection(aColIdx, TableSelectionMode::Column); } void HTMLTableAccessible::UnselectRow(uint32_t aRowIdx) { - RemoveRowsOrColumnsFromSelection(aRowIdx, TableSelection::Row, false); + RemoveRowsOrColumnsFromSelection(aRowIdx, TableSelectionMode::Row, false); } void HTMLTableAccessible::UnselectCol(uint32_t aColIdx) { - RemoveRowsOrColumnsFromSelection(aColIdx, TableSelection::Column, false); + RemoveRowsOrColumnsFromSelection(aColIdx, TableSelectionMode::Column, false); } //////////////////////////////////////////////////////////////////////////////// // HTMLTableAccessible: protected implementation nsresult HTMLTableAccessible::AddRowOrColumnToSelection( - int32_t aIndex, TableSelection aTarget) { - bool doSelectRow = (aTarget == TableSelection::Row); + int32_t aIndex, TableSelectionMode aTarget) { + bool doSelectRow = (aTarget == TableSelectionMode::Row); nsTableWrapperFrame* tableFrame = do_QueryFrame(mContent->GetPrimaryFrame()); if (!tableFrame) return NS_OK; @@ -716,7 +716,7 @@ nsresult HTMLTableAccessible::AddRowOrColumnToSelection( } nsresult HTMLTableAccessible::RemoveRowsOrColumnsFromSelection( - int32_t aIndex, TableSelection aTarget, bool aIsOuter) { + int32_t aIndex, TableSelectionMode aTarget, bool aIsOuter) { nsTableWrapperFrame* tableFrame = do_QueryFrame(mContent->GetPrimaryFrame()); if (!tableFrame) return NS_OK; @@ -724,7 +724,7 @@ nsresult HTMLTableAccessible::RemoveRowsOrColumnsFromSelection( RefPtr tableSelection = const_cast(presShell->ConstFrameSelection()); - bool doUnselectRow = (aTarget == TableSelection::Row); + bool doUnselectRow = (aTarget == TableSelectionMode::Row); uint32_t count = doUnselectRow ? ColCount() : RowCount(); int32_t startRowIdx = doUnselectRow ? aIndex : 0; diff --git a/accessible/html/HTMLTableAccessible.h b/accessible/html/HTMLTableAccessible.h index baacfa3deb..248524085b 100644 --- a/accessible/html/HTMLTableAccessible.h +++ b/accessible/html/HTMLTableAccessible.h @@ -14,7 +14,7 @@ class nsTableCellFrame; namespace mozilla { -enum class TableSelection : uint32_t; +enum class TableSelectionMode : uint32_t; namespace a11y { @@ -176,7 +176,8 @@ class HTMLTableAccessible : public HyperTextAccessibleWrap, * @param aTarget [in] indicates what should be selected, either row or * column (see nsFrameSelection) */ - nsresult AddRowOrColumnToSelection(int32_t aIndex, TableSelection aTarget); + nsresult AddRowOrColumnToSelection(int32_t aIndex, + TableSelectionMode aTarget); /** * Removes rows or columns at the given index or outside it from selection. @@ -188,7 +189,7 @@ class HTMLTableAccessible : public HyperTextAccessibleWrap, * should be unselected only */ nsresult RemoveRowsOrColumnsFromSelection(int32_t aIndex, - TableSelection aTarget, + TableSelectionMode aTarget, bool aIsOuter); #ifdef SHOW_LAYOUT_HEURISTIC diff --git a/accessible/ipc/other/ProxyAccessible.h b/accessible/ipc/other/ProxyAccessible.h index c66766c1ae..cbbec8c441 100644 --- a/accessible/ipc/other/ProxyAccessible.h +++ b/accessible/ipc/other/ProxyAccessible.h @@ -25,7 +25,7 @@ class ProxyAccessible : public ProxyAccessibleBase { MOZ_COUNT_CTOR(ProxyAccessible); } - ~ProxyAccessible() { MOZ_COUNT_DTOR(ProxyAccessible); } + MOZ_COUNTED_DTOR(ProxyAccessible) #include "mozilla/a11y/ProxyAccessibleShared.h" diff --git a/accessible/ipc/other/moz.build b/accessible/ipc/other/moz.build index 7cd6551478..47a4e13f3a 100644 --- a/accessible/ipc/other/moz.build +++ b/accessible/ipc/other/moz.build @@ -2,11 +2,10 @@ # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. -# With --disable-accessibility, we need to compile PDocAccessible.ipdl, but -# not the C++. -IPDL_SOURCES += ['PDocAccessible.ipdl'] if CONFIG['ACCESSIBILITY']: + IPDL_SOURCES += ['PDocAccessible.ipdl'] + EXPORTS.mozilla.a11y += [ 'DocAccessibleChild.h', 'ProxyAccessible.h', diff --git a/accessible/ipc/win/ProxyAccessible.h b/accessible/ipc/win/ProxyAccessible.h index 7a016c10ca..07ddc82eb2 100644 --- a/accessible/ipc/win/ProxyAccessible.h +++ b/accessible/ipc/win/ProxyAccessible.h @@ -26,7 +26,7 @@ class ProxyAccessible : public ProxyAccessibleBase { MOZ_COUNT_CTOR(ProxyAccessible); } - ~ProxyAccessible() { MOZ_COUNT_DTOR(ProxyAccessible); } + MOZ_COUNTED_DTOR(ProxyAccessible) #include "mozilla/a11y/ProxyAccessibleShared.h" diff --git a/accessible/ipc/win/moz.build b/accessible/ipc/win/moz.build index 19591d49bf..eee052a254 100644 --- a/accessible/ipc/win/moz.build +++ b/accessible/ipc/win/moz.build @@ -8,15 +8,9 @@ if CONFIG['COMPILE_ENVIRONMENT'] and CONFIG['ACCESSIBILITY']: 'typelib', ] -# With --disable-accessibility, we need to compile PDocAccessible.ipdl (which -# also depends on COMPtrTypes.h), but not the C++. -IPDL_SOURCES += ['PDocAccessible.ipdl'] - -EXPORTS.mozilla.a11y += [ - 'COMPtrTypes.h', -] - if CONFIG['ACCESSIBILITY']: + IPDL_SOURCES += ['PDocAccessible.ipdl'] + if not CONFIG['HAVE_64BIT_BUILD']: EXPORTS += [ 'IAccessible32.manifest', @@ -27,6 +21,7 @@ if CONFIG['ACCESSIBILITY']: ] EXPORTS.mozilla.a11y += [ + 'COMPtrTypes.h', 'DocAccessibleChild.h', 'HandlerProvider.h', 'PlatformChild.h', diff --git a/accessible/tests/mochitest/attributes/test_obj.html b/accessible/tests/mochitest/attributes/test_obj.html index 9afb08e648..701ea79a6c 100644 --- a/accessible/tests/mochitest/attributes/test_obj.html +++ b/accessible/tests/mochitest/attributes/test_obj.html @@ -88,6 +88,9 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=558036 testAttrs("statusChild", {"container-live": "polite"}, true); testAttrs("timerChild", {"container-live": "off"}, true); testAbsentAttrs("tablistChild", {"container-live": "polite"}); + testAttrs("containerLiveOutput", {"container-live": "polite"}, true); + testAttrs("containerLiveOutput1", {"container-live": "polite"}, true); + testAttrs("containerLiveOutput2", {"container-live": "polite"}, true); // container-live-role object attribute testAttrs("log", {"container-live-role": "log"}, true); @@ -121,7 +124,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=558036 testAttrs("search", {"text-input-type": "search"}, true); testAttrs("tel", {"text-input-type": "tel"}, true); testAttrs("url", {"text-input-type": "url"}, true); - testAttrs(getAccessible("number").firstChild, {"text-input-type": "number"}, true); + testAttrs("number", {"text-input-type": "number"}, true); // ARIA testAttrs("searchbox", {"text-input-type": "search"}, true); @@ -166,6 +169,9 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=558036
   
+ +
Test
+
live region
live region
diff --git a/accessible/tests/mochitest/elm/test_HTMLSpec.html b/accessible/tests/mochitest/elm/test_HTMLSpec.html index 177d985d54..3ff01eaf5d 100644 --- a/accessible/tests/mochitest/elm/test_HTMLSpec.html +++ b/accessible/tests/mochitest/elm/test_HTMLSpec.html @@ -190,7 +190,10 @@ obj = { role: ROLE_PARAGRAPH, - children: [ { role: ROLE_WHITESPACE } ], + children: [ + { role: ROLE_WHITESPACE }, + { role: ROLE_WHITESPACE } + ] }; testElm("br_container", obj); @@ -707,25 +710,9 @@ obj = { role: ROLE_SPINBUTTON, - interfaces: [ nsIAccessibleValue ], + interfaces: [ nsIAccessibleValue, nsIAccessibleText, nsIAccessibleEditableText ], children: [ - { - role: ROLE_ENTRY, - extraStates: EXT_STATE_EDITABLE | EXT_STATE_SINGLE_LINE, - actions: "activate", - interfaces: [ nsIAccessibleText, nsIAccessibleEditableText ], - children: [ - { role: ROLE_TEXT_LEAF }, - ], - }, - { - role: ROLE_PUSHBUTTON, - actions: "press", - }, - { - role: ROLE_PUSHBUTTON, - actions: "press", - }, + { role: ROLE_TEXT_LEAF }, ], }; testElm("input_number", obj); @@ -1114,7 +1101,7 @@ // HTML:output obj = { - role: ROLE_SECTION, + role: ROLE_STATUSBAR, attributes: { "live": "polite" }, todo_relations: { RELATION_CONTROLLED_BY: "output_input", @@ -1428,7 +1415,7 @@

This is a quotation taken from the Mozilla Developer Center.

- +



diff --git a/accessible/tests/mochitest/events/test_valuechange.html b/accessible/tests/mochitest/events/test_valuechange.html index 45b8e64f00..d7c18e4696 100644 --- a/accessible/tests/mochitest/events/test_valuechange.html +++ b/accessible/tests/mochitest/events/test_valuechange.html @@ -171,6 +171,8 @@ let shadowSelect = getAccessible("selectShadow").firstChild; gQueue.push(new changeSelectValue(shadowSelect, "VK_DOWN", "2")); + gQueue.push(new changeValue("number", "2")); + gQueue.invoke(); // Will call SimpleTest.finish(); } @@ -269,5 +271,7 @@ select.appendChild(option); shadow.appendChild(select); + + diff --git a/accessible/tests/mochitest/text/test_gettext.html b/accessible/tests/mochitest/text/test_gettext.html index 376807d7a8..2f221a416b 100644 --- a/accessible/tests/mochitest/text/test_gettext.html +++ b/accessible/tests/mochitest/text/test_gettext.html @@ -112,12 +112,12 @@ two words -
oneword

two words

+
oneword

two words
oneword two words
-
oneword

two words

+
oneword

two words
-

This is some editable text.

-

First letter Middle Last part

+
+
+ + + + diff --git a/editor/libeditor/tests/test_middle_click_paste.html b/editor/libeditor/tests/test_middle_click_paste.html index 9f76149759..a757daab6b 100644 --- a/editor/libeditor/tests/test_middle_click_paste.html +++ b/editor/libeditor/tests/test_middle_click_paste.html @@ -76,81 +76,151 @@ async function copyHTMLContent(aInnerHTML) { }); } -function checkInputEvent(aEvent, aInputType, aData, aDataTransfer, aDescription) { +function checkInputEvent(aEvent, aInputType, aData, aDataTransfer, aTargetRanges, aDescription) { ok(aEvent instanceof InputEvent, - `"input" event should be dispatched with InputEvent interface ${aDescription}`); - is(aEvent.cancelable, false, - `"input" event should be never cancelable ${aDescription}`); + `"${aEvent.type}" event should be dispatched with InputEvent interface ${aDescription}`); + is(aEvent.cancelable, aEvent.type === "beforeinput", + `"${aEvent.type}" event should ${aEvent.type === "beforeinput" ? "be" : "be never"} cancelable ${aDescription}`); is(aEvent.bubbles, true, - `"input" event should always bubble ${aDescription}`); + `"${aEvent.type}" event should always bubble ${aDescription}`); is(aEvent.inputType, aInputType, - `inputType should be "${aInputType}" ${aDescription}`); + `inputType of "${aEvent.type}" event should be "${aInputType}" ${aDescription}`); is(aEvent.data, aData, - `data should be ${aData} ${aDescription}`); + `data of "${aEvent.type}" event should be ${aData} ${aDescription}`); if (aDataTransfer === null) { is(aEvent.dataTransfer, null, - `dataTransfer should be null ${aDescription}`); + `dataTransfer of "${aEvent.type}" event should be null ${aDescription}`); } else { for (let dataTransfer of aDataTransfer) { is(aEvent.dataTransfer.getData(dataTransfer.type), dataTransfer.data, - `dataTransfer should have "${dataTransfer.data}" whose type is "${dataTransfer.type}" ${aDescription}`); + `dataTransfer of "${aEvent.type}" should have "${dataTransfer.data}" whose type is "${dataTransfer.type}" ${aDescription}`); + } + } + let targetRanges = aEvent.getTargetRanges(); + if (aTargetRanges.length === 0) { + is(targetRanges.length, 0, + `getTargetRange() of "${aEvent.type}" event should return empty array: ${aDescription}`); + } else { + is(targetRanges.length, aTargetRanges.length, + `getTargetRange() of "${aEvent.type}" event should return static range array: ${aDescription}`); + if (targetRanges.length == aTargetRanges.length) { + for (let i = 0; i < targetRanges.length; i++) { + is(targetRanges[i].startContainer, aTargetRanges[i].startContainer, + `startContainer of getTargetRanges()[${i}] of "${aEvent.type}" event does not match: ${aDescription}`); + is(targetRanges[i].startOffset, aTargetRanges[i].startOffset, + `startOffset of getTargetRanges()[${i}] of "${aEvent.type}" event does not match: ${aDescription}`); + is(targetRanges[i].endContainer, aTargetRanges[i].endContainer, + `endContainer of getTargetRanges()[${i}] of "${aEvent.type}" event does not match: ${aDescription}`); + is(targetRanges[i].endOffset, aTargetRanges[i].endOffset, + `endOffset of getTargetRanges()[${i}] of "${aEvent.type}" event does not match: ${aDescription}`); + } } } } async function doTextareaTests(aTextarea) { + let beforeInputEvents = []; let inputEvents = []; + function onBeforeInput(aEvent) { + beforeInputEvents.push(aEvent); + } function onInput(aEvent) { inputEvents.push(aEvent); } + aTextarea.addEventListener("beforeinput", onBeforeInput); aTextarea.addEventListener("input", onInput); await copyPlaintext("abc\ndef\nghi"); aTextarea.focus(); + beforeInputEvents = []; inputEvents = []; synthesizeMouseAtCenter(aTextarea, {button: 1, ctrlKey: true}); is(aTextarea.value, "> abc\n> def\n> ghi\n\n", "Pasted each line should start with \"> \""); + is(beforeInputEvents.length, 1, + 'One "beforeinput" event should be fired #1'); + checkInputEvent(beforeInputEvents[0], "insertFromPasteAsQuotation", "abc\ndef\nghi", null, [], "#1"); is(inputEvents.length, 1, 'One "input" event should be fired #1'); - checkInputEvent(inputEvents[0], "insertFromPasteAsQuotation", "abc\ndef\nghi", null, "#1"); + checkInputEvent(inputEvents[0], "insertFromPasteAsQuotation", "abc\ndef\nghi", null, [], "#1"); aTextarea.value = ""; await copyPlaintext("> abc\n> def\n> ghi"); aTextarea.focus(); + beforeInputEvents = []; inputEvents = []; synthesizeMouseAtCenter(aTextarea, {button: 1, ctrlKey: true}); is(aTextarea.value, ">> abc\n>> def\n>> ghi\n\n", "Pasted each line should be start with \">> \" when already quoted one level"); + is(beforeInputEvents.length, 1, + 'One "beforeinput" event should be fired #2'); + checkInputEvent(beforeInputEvents[0], "insertFromPasteAsQuotation", "> abc\n> def\n> ghi", null, [], "#2"); is(inputEvents.length, 1, 'One "input" event should be fired #2'); - checkInputEvent(inputEvents[0], "insertFromPasteAsQuotation", "> abc\n> def\n> ghi", null, "#2"); + checkInputEvent(inputEvents[0], "insertFromPasteAsQuotation", "> abc\n> def\n> ghi", null, [], "#2"); aTextarea.value = ""; await copyPlaintext("> abc\n> def\n\nghi"); aTextarea.focus(); + beforeInputEvents = []; inputEvents = []; synthesizeMouseAtCenter(aTextarea, {button: 1, ctrlKey: true}); is(aTextarea.value, ">> abc\n>> def\n> \n> ghi\n\n", "Pasted each line should be start with \">> \" when already quoted one level"); + is(beforeInputEvents.length, 1, + 'One "beforeinput" event should be fired #3'); + checkInputEvent(beforeInputEvents[0], "insertFromPasteAsQuotation", "> abc\n> def\n\nghi", null, [], "#3"); is(inputEvents.length, 1, 'One "input" event should be fired #3'); - checkInputEvent(inputEvents[0], "insertFromPasteAsQuotation", "> abc\n> def\n\nghi", null, "#3"); + checkInputEvent(inputEvents[0], "insertFromPasteAsQuotation", "> abc\n> def\n\nghi", null, [], "#3"); aTextarea.value = ""; await copyPlaintext("abc\ndef\n\n"); aTextarea.focus(); + beforeInputEvents = []; inputEvents = []; synthesizeMouseAtCenter(aTextarea, {button: 1, ctrlKey: true}); is(aTextarea.value, "> abc\n> def\n> \n", "If pasted text ends with \"\\n\", only the last line should not started with \">\""); + is(beforeInputEvents.length, 1, + 'One "beforeinput" event should be fired #4'); + checkInputEvent(beforeInputEvents[0], "insertFromPasteAsQuotation", "abc\ndef\n\n", null, [], "#4"); is(inputEvents.length, 1, 'One "input" event should be fired #4'); - checkInputEvent(inputEvents[0], "insertFromPasteAsQuotation", "abc\ndef\n\n", null, "#4"); + checkInputEvent(inputEvents[0], "insertFromPasteAsQuotation", "abc\ndef\n\n", null, [], "#4"); + aTextarea.value = ""; + + await copyPlaintext("abc\ndef\n\n"); + aTextarea.addEventListener("paste", (event) => { event.preventDefault(); }, {once: true}); + aTextarea.focus(); + beforeInputEvents = []; + inputEvents = []; + synthesizeMouseAtCenter(aTextarea, {button: 1, ctrlKey: true}); + is(aTextarea.value, "", + 'Pasting as quote should have been canceled if "paste" event was canceled'); + is(beforeInputEvents.length, 0, + 'No "beforeinput" event should be fired since "paste" event was canceled #5'); + is(inputEvents.length, 0, + 'No "input" event should be fired since "paste" was canceled #5'); + aTextarea.value = ""; + + await copyPlaintext("abc\ndef\n\n"); + aTextarea.addEventListener("beforeinput", (event) => { event.preventDefault(); }, {once: true}); + aTextarea.focus(); + beforeInputEvents = []; + inputEvents = []; + synthesizeMouseAtCenter(aTextarea, {button: 1, ctrlKey: true}); + is(aTextarea.value, "", + 'Pasting as quote should have been canceled if "beforeinput" event was canceled'); + is(beforeInputEvents.length, 1, + 'One "beforeinput" event should be fired #5'); + checkInputEvent(beforeInputEvents[0], "insertFromPasteAsQuotation", "abc\ndef\n\n", null, [], "#6"); + is(inputEvents.length, 0, + 'No "input" event should be fired since "beforeinput" was canceled #6'); aTextarea.value = ""; let pasteEventCount = 0; @@ -162,82 +232,152 @@ async function doTextareaTests(aTextarea) { await copyPlaintext("abc"); aTextarea.focus(); document.body.addEventListener("click", (event) => { event.preventDefault(); }, {capture: true, once: true}); + beforeInputEvents = []; inputEvents = []; synthesizeMouseAtCenter(aTextarea, {button: 1}); is(aTextarea.value, "abc", "If 'click' event is consumed at capturing phase of the , paste should not be canceled"); is(pasteEventCount, 1, "If 'click' event is consumed at capturing phase of the , 'paste' event should still be fired"); + is(beforeInputEvents.length, 1, + '"beforeinput" event should be fired when the "click" event is canceled'); + checkInputEvent(beforeInputEvents[0], "insertFromPaste", "abc", null, [], 'when the "click" event is canceled'); is(inputEvents.length, 1, '"input" event should be fired when the "click" event is canceled'); + checkInputEvent(inputEvents[0], "insertFromPaste", "abc", null, [], 'when the "click" event is canceled'); aTextarea.value = ""; await copyPlaintext("abc"); aTextarea.focus(); aTextarea.addEventListener("mouseup", (event) => { event.preventDefault(); }, {once: true}); pasteEventCount = 0; + beforeInputEvents = []; inputEvents = []; synthesizeMouseAtCenter(aTextarea, {button: 1}); is(aTextarea.value, "abc", "Even if 'mouseup' event is consumed, paste should be done"); is(pasteEventCount, 1, "Even if 'mouseup' event is consumed, 'paste' event should be fired once"); + is(beforeInputEvents.length, 1, + 'One "beforeinput" event should be fired even if "mouseup" event is canceled'); + checkInputEvent(beforeInputEvents[0], "insertFromPaste", "abc", null, [], 'even if "mouseup" event is canceled'); is(inputEvents.length, 1, 'One "input" event should be fired even if "mouseup" event is canceled'); - checkInputEvent(inputEvents[0], "insertFromPaste", "abc", null, 'even if "mouseup" event is canceled'); + checkInputEvent(inputEvents[0], "insertFromPaste", "abc", null, [], 'even if "mouseup" event is canceled'); aTextarea.value = ""; await copyPlaintext("abc"); aTextarea.focus(); aTextarea.addEventListener("click", (event) => { event.preventDefault(); }, {once: true}); pasteEventCount = 0; + beforeInputEvents = []; inputEvents = []; synthesizeMouseAtCenter(aTextarea, {button: 1}); is(aTextarea.value, "abc", "If 'click' event handler is added to the "; await doTextareaTests(document.getElementById("editor")); diff --git a/editor/libeditor/tests/test_nsIEditorMailSupport_insertAsCitedQuotation.html b/editor/libeditor/tests/test_nsIEditorMailSupport_insertAsCitedQuotation.html index 67b74338a5..118347f2ce 100644 --- a/editor/libeditor/tests/test_nsIEditorMailSupport_insertAsCitedQuotation.html +++ b/editor/libeditor/tests/test_nsIEditorMailSupport_insertAsCitedQuotation.html @@ -15,23 +15,79 @@ + + + +
+
+ + +
+
+
+ + + + + diff --git a/editor/libeditor/tests/test_nsIHTMLEditor_getElementOrParentByTagName.html b/editor/libeditor/tests/test_nsIHTMLEditor_getElementOrParentByTagName.html new file mode 100644 index 0000000000..c78ec6763d --- /dev/null +++ b/editor/libeditor/tests/test_nsIHTMLEditor_getElementOrParentByTagName.html @@ -0,0 +1,449 @@ + + + + Test for nsIHTMLEditor.getElementOrParentByTagName() + + + + +
+
+
+
+
+
+
+ + + + + diff --git a/editor/libeditor/tests/test_nsIHTMLEditor_getParagraphState.html b/editor/libeditor/tests/test_nsIHTMLEditor_getParagraphState.html new file mode 100644 index 0000000000..0297464c3f --- /dev/null +++ b/editor/libeditor/tests/test_nsIHTMLEditor_getParagraphState.html @@ -0,0 +1,156 @@ + + + + Test for nsIHTMLEditor.getParagraphState() + + + + +
+
+
+
+
+ + + + + diff --git a/editor/libeditor/tests/test_nsIHTMLEditor_removeInlineProperty.html b/editor/libeditor/tests/test_nsIHTMLEditor_removeInlineProperty.html index b09b60e83e..1c0040c491 100644 --- a/editor/libeditor/tests/test_nsIHTMLEditor_removeInlineProperty.html +++ b/editor/libeditor/tests/test_nsIHTMLEditor_removeInlineProperty.html @@ -13,28 +13,70 @@ - - - -
-
- - -
-
-
- - - - - diff --git a/editor/libeditor/tests/test_nsITableEditor_deleteTableCell.html b/editor/libeditor/tests/test_nsITableEditor_deleteTableCell.html index 80f1a532ed..3971b82d2b 100644 --- a/editor/libeditor/tests/test_nsITableEditor_deleteTableCell.html +++ b/editor/libeditor/tests/test_nsITableEditor_deleteTableCell.html @@ -13,48 +13,93 @@ + + + + +Mozilla Bug 1320229 +

+
+
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+ +
+
+
+
+ + diff --git a/editor/libeditor/tests/test_resizers_resizing_elements.html b/editor/libeditor/tests/test_resizers_resizing_elements.html index ebfe17df69..6694a05582 100644 --- a/editor/libeditor/tests/test_resizers_resizing_elements.html +++ b/editor/libeditor/tests/test_resizers_resizing_elements.html @@ -21,7 +21,11 @@ "use strict"; SimpleTest.waitForExplicitFinish(); -SimpleTest.waitForFocus(async function() { +SimpleTest.waitForFocus(async () => { + await SpecialPowers.pushPrefEnv({ + set: [["dom.input_events.beforeinput.enabled", true]], + }); + document.execCommand("enableObjectResizing", false, true); ok(document.queryCommandState("enableObjectResizing"), "Object resizer should be enabled by the call of execCommand"); @@ -62,6 +66,7 @@ SimpleTest.waitForFocus(async function() { * In specifying baseX, W can be considered to be the width of the image, and for baseY, H * can be considered to be the height of the image. deltaX and deltaY are regular pixel values * which can be positive or negative. + * TODO: Should test canceling "beforeinput" events case. */ const W = 1; const H = 1; @@ -88,23 +93,46 @@ SimpleTest.waitForFocus(async function() { let inputEventExpected = true; function onInput(aEvent) { if (!inputEventExpected) { - ok(false, "\"input\" event shouldn't be fired after stopping resizing"); + ok(false, `"${aEvent.type}" event shouldn't be fired after stopping resizing`); return; } ok(aEvent instanceof InputEvent, - '"input" event should be dispatched with InputEvent interface'); + `"${aEvent.type}" event should be dispatched with InputEvent interface`); is(aEvent.cancelable, false, - '"input" event should be never cancelable'); + `"${aEvent.type}" event should be never cancelable`); is(aEvent.bubbles, true, - '"input" event should always bubble'); + `"${aEvent.type}" event should always bubble`); is(aEvent.inputType, "", - `inputType should be empty string when an element is resized`); + `inputType of "${aEvent.type}" event should be empty string when an element is resized`); is(aEvent.data, null, - `data should be null ${aDescription}`); + `data of "${aEvent.type}" event should be null ${aDescription}`); is(aEvent.dataTransfer, null, - `data should be null ${aDescription}`); + `data of "${aEvent.type}" event should be null ${aDescription}`); + let targetRanges = aEvent.getTargetRanges(); + if (aEvent.type === "beforeinput") { + let selection = document.getSelection(); + is(targetRanges.length, selection.rangeCount, + `getTargetRanges() of "beforeinput" event for position changing of absolute position should return selection ranges ${aDescription}`); + if (targetRanges.length === selection.rangeCount) { + for (let i = 0; i < selection.rangeCount; i++) { + let range = selection.getRangeAt(i); + is(targetRanges[i].startContainer, range.startContainer, + `startContainer of getTargetRanges()[${i}] of "beforeinput" event for position changing of absolute position does not match ${aDescription}`); + is(targetRanges[i].startOffset, range.startOffset, + `startOffset of getTargetRanges()[${i}] of "beforeinput" event for position changing of absolute position does not match ${aDescription}`); + is(targetRanges[i].endContainer, range.endContainer, + `endContainer of getTargetRanges()[${i}] of "beforeinput" event for position changing of absolute position does not match ${aDescription}`); + is(targetRanges[i].endOffset, range.endOffset, + `endOffset of getTargetRanges()[${i}] of "beforeinput" event for position changing of absolute position does not match ${aDescription}`); + } + } + } else { + is(targetRanges.length, 0, + `getTargetRanges() of "${aEvent.type}" event for position changing of absolute position should return empty array ${aDescription}`); + } } + content.addEventListener("beforeinput", onInput); content.addEventListener("input", onInput); // Click on the correct resizer @@ -130,6 +158,7 @@ SimpleTest.waitForFocus(async function() { isfuzzy(newRect.width, rect.width + expectedDeltaX, 2, description + "The width should be increased by " + expectedDeltaX + " pixels"); isfuzzy(newRect.height, rect.height + expectedDeltaY, 2, description + "The height should be increased by " + expectedDeltaY + "pixels"); + content.removeEventListener("beforeinput", onInput); content.removeEventListener("input", onInput); } diff --git a/editor/libeditor/tests/test_setting_value_longer_than_maxlength_with_setUserInput.html b/editor/libeditor/tests/test_setting_value_longer_than_maxlength_with_setUserInput.html new file mode 100644 index 0000000000..b7b9b40a6c --- /dev/null +++ b/editor/libeditor/tests/test_setting_value_longer_than_maxlength_with_setUserInput.html @@ -0,0 +1,75 @@ + + + + + + Test setting value longer than maxlength with setUserInput + + + + + + + Mozilla Bug 1320229 +
+
+
+
+
+ + + + + diff --git a/editor/libeditor/tests/test_textarea_value_not_include_cr.html b/editor/libeditor/tests/test_textarea_value_not_include_cr.html index c6b3c78a90..335c0a0525 100644 --- a/editor/libeditor/tests/test_textarea_value_not_include_cr.html +++ b/editor/libeditor/tests/test_textarea_value_not_include_cr.html @@ -52,8 +52,8 @@ SimpleTest.waitForFocus(async () => { is(textarea.value, "ab\ncd\nef", "Pasting \\r from clipboard should be converted to \\n"); textarea.value = ""; - SpecialPowers.wrap(textarea).editor.QueryInterface(SpecialPowers.Ci.nsIPlaintextEditor).insertText("ab\r\ncd\ref"); - is(textarea.value, "ab\ncd\nef", "Inserting \\r with nsIPlaintextEditor.insertText() should be converted to \\n"); + SpecialPowers.wrap(textarea).editor.insertText("ab\r\ncd\ref"); + is(textarea.value, "ab\ncd\nef", "Inserting \\r with nsIEditor.insertText() should be converted to \\n"); textarea.value = ""; synthesizeCompositionChange( diff --git a/editor/libeditor/tests/test_texteditor_keyevent_handling.html b/editor/libeditor/tests/test_texteditor_keyevent_handling.html index cd86577803..2ecdf55254 100644 --- a/editor/libeditor/tests/test_texteditor_keyevent_handling.html +++ b/editor/libeditor/tests/test_texteditor_keyevent_handling.html @@ -350,11 +350,11 @@ function runTests() { // make non-tabbable plaintext editor textarea.removeAttribute("readonly"); - const nsIPlaintextEditor = SpecialPowers.Ci.nsIPlaintextEditor; + const nsIEditor = SpecialPowers.Ci.nsIEditor; var editor = SpecialPowers.wrap(textarea).editor; var flags = editor.flags; - editor.flags = flags & ~(nsIPlaintextEditor.eEditorWidgetMask | - nsIPlaintextEditor.eEditorAllowInteraction); + editor.flags = flags & ~(nsIEditor.eEditorWidgetMask | + nsIEditor.eEditorAllowInteraction); doTest(textarea, "non-tabbable