Commit Graph

3650 Commits

Author SHA1 Message Date
Matt A. Tobin fda213de85 Bug 1346623 - Allow anonymous content created with nsIDocument::InsertAnonymousContent can change from non-native to native AC
* Prevent canvas custom content from becoming NAC when reframing the root element
* Add an API to get computed style values through an AnonymousContent object

Tag #1375
2020-04-18 07:03:28 +08:00
Matt A. Tobin 5a9d76e6d5 Bug 1347640 - HTMLInputElement shouldn't try to cancel image request on all the type changes
* Move the changing of HTMLInputElement's mType from ParseAttribute to AfterSetAttr
* Move a few more things from AfterSetAttr to HandleTypeChange

Tag #1375
2020-04-18 07:03:25 +08:00
Matt A. Tobin 7a3f9be509 Bug 656197 - Push state updates further out across beforesetattr/aftersetattr
* Remove the generic attr preparsing mechanism from BeforeSetAttr and just preparse class attributes directly in the one place that needs to do it
* Move calls to BeforeSetAttr to after AttributeWillChange
* Remove UpdateState calls in BeforeSetAttr
* Move calls to AfterSetAttr to before UpdateState when manipulating attributes
* Remove UpdateState calls from AfterSetAttr, since they are no longer needed there

Tag #1375
2020-04-18 07:03:22 +08:00
Matt A. Tobin 87bc2cab4e Bug 1343879 - Be consistent about the parent style context the document-level anonymous content container should get: it should get no parent style context.
Tag #1375
2020-04-18 07:03:18 +08:00
Matt A. Tobin 484b481031 Issue #1375 - Overload FromContent() to work with const 2020-04-18 07:03:16 +08:00
Matt A. Tobin 8e51f64cad Bug 1343937 - Fix a crash in nsWrapperCache.h
* Implement and use GetInFlowParent
* Exempt scrollbar NAC from the new NAC semantics

Tag #1375
2020-04-18 07:03:11 +08:00
Matt A. Tobin e5725baa34 Bug 1340885 - Null check frame's content when searching for NAC ancestors in GetCorrectedParent
Tag #1375
2020-04-18 07:03:08 +08:00
Matt A. Tobin 69139427d5 Bug 1340333 - Eagerly compute whether a frame is really a browser.
Tag #1375
2020-04-18 07:03:06 +08:00
Matt A. Tobin b723a5c8c4 Bug 1331322 - Allow tagging of pseudo-implementing native anonymous content with the pseudo type at creation time
* Stop using a node bit for HasExplicitBaseURI
* Move MAY_HAVE_CLASS to mBoolFlags
* Add a flag to indicate that a node is native anonymous content
* Allow tagging of pseudo-implementing native anonymous content with the pseudo type at creation time, and eliminate explicit style contexts in nsIAnonymousContentCreator::ContentInfo

Tag #1375
2020-04-18 07:03:03 +08:00
Matt A. Tobin 31048968fd Bug 1336011 - Fix Crash in InvalidArrayIndex_CRASH in mozilla::EditorBase::DeleteSelectionImpl
* EditorBase shouldn't refer mActionListeners directly in loops because it might be removed during a loop
* Create an alias of the type of mEditorObservers
* Create an alias of the type of mDocStateListeners

Tag #1375
2020-04-18 07:03:00 +08:00
Matt A. Tobin 5b8f93694a Bug 1334358 - Remove nsCSSFrameConstructor::CreateAnonymousFrames
Tag #1375
2020-04-18 07:02:57 +08:00
Matt A. Tobin 499252b89f Bug 1334247 - Remove nsIAnonymousContentCreator::CreateFrameFor
Tag #1375
2020-04-18 07:02:54 +08:00
Matt A. Tobin 02ff2ef376 Issue #1375 - Fix unified sources 2020-04-18 07:02:50 +08:00
Matt A. Tobin a03838af22 Bug 1321284 - Crash in nsCSSFrameConstructor::GetInsertionPrevSibling when trying to reframe native anonymous content
* Make StyleChildrenIterator skip NAC generated by root element primary frame ancestors.
* Add nsINode::GetFlattenedTreeParentNodeForStyle.
* Add iterator class to find all restyle roots.

NOTE: Parts 1, 2, and "4.2"

Tag #1375
2020-04-18 07:02:47 +08:00
Matt A. Tobin cb2b45e472 Bug 1305458 - Changing -moz-appearence on hover breaks change event
* Rename nsIDOMEventTarget::PreHandleEvent to nsIDOMEventTarget::GetEventTargetParent
* Add nsIDOMEventTarget::PreHandleEvent
* Add EventTargetChainItem::GetFirstEventTarget
* Call EventTargetChainItem::PreHandleEvent even it sets mCanHandle=false
* Move form control frame focus/blur from nsGenericHTMLFormElement::GetEventTargetParent to PreHandleEvent
* Move fire change event from HTMLTextAreaElement::GetEventTargetParent to PreHandleEvent
* Refine nsXULElement::GetEventTargetParent
* Move dispatch XUL command from nsXULElement::GetEventTargetParent to PreHandleEvent
* Move fire events and set value from HTMLInputElement::GetEventTargetParent to PreHandleEvent
* Add test case
* Let HTMLInputElement delegate event handling to it's parent class
* Refine EventTargetChain flags to reduce overheads
* Refine event target chain creation
* Refine assertion in EventTargetChainItem::Create

Tag #1375
2020-04-18 07:02:44 +08:00
wolfbeast 20b2c26451 Issue #251 - Move MOZ_AV1 back to ac configure for everyone to use. 2020-04-18 07:02:10 +08:00
wolfbeast 78a9717bc3 Issue #1517 - Enable high-resolution DOM timestamps on trunk
At the very least we should enable these short term, with the potential
removal of it pending.
2020-04-18 07:02:07 +08:00
Matt A. Tobin c3d2282ba8 Issue #1516 - Part 1: Add a global build define to determine if the client can draw in the titlebar and update consumers of the local define 2020-04-18 07:02:04 +08:00
Moonchild 91c64d8c3f Create SECURITY.md
Provide basic instructions how to report security vulnerabilities.
2020-04-18 07:01:45 +08:00
wolfbeast de71a9e013 Issue #1514 - Perform validity check before trying to use the content.
Resolves #1514
2020-04-18 07:01:30 +08:00
wolfbeast 788e24053a Issue #1513 - Bail on orphan node
This was refactored by Mozilla into doing effectively the same thing so
it aligns with them re: behavior.
Resolves #1513
2020-04-18 07:01:27 +08:00
wolfbeast 92f7e0e48e Issue #1512 - Improve handling of multiple selections.
IsSelectionEditable should check whether the focus node and anchor node
aren't null before trying to use them.
This also changes the initialization of selections' aOutIndex to the
last range in the selection as a fallback in case we don't add a range
later (in AddItem) which could also end up with a null selection
otherwise if the additional selection nodes are removed.
2020-04-18 07:01:23 +08:00
Lootyhoof 583b5c34a3 [Pale-Moon] Issue #1769 - Improve fullscreen mode on Windows 2020-04-11 10:03:46 +08:00
JustOff f20dc8b560 [Pale-Moon] Issue #1766 - Add pref to allow copying unescaped URL from the URL bar 2020-04-11 10:03:30 +08:00
Lootyhoof 5a9cfb364d [Pale-Moon] Issue #1751 - Make the Mac bottom tab bar blend better 2020-04-11 10:03:11 +08:00
Pale Moon 72431fef47 [Pale-Moon] Add patientaccess.com UA override (Angular) 2020-04-11 10:02:52 +08:00
Lootyhoof 86551712e5 [Pale-Moon] Replace -moz prefixed logical properties in themes 2020-04-11 10:02:27 +08:00
Lootyhoof 372b921dcb [Pale-Moon] Make sure we index libraryToolbar.svg 2020-04-11 10:02:06 +08:00
Lootyhoof ef9c1eca47 [Pale-Moon] Add HiDPI toolbar icons to the library on Windows 2020-04-11 10:01:24 +08:00
Lootyhoof 5debac3383 [Pale-Moon] Cleanup OS X default theme 2020-04-11 10:00:52 +08:00
wolfbeast ece5e76725 [layout] Always move descendants of layout frames if moved.
If we move the frame then we always need to move any descendant views,
not just in case the frame itself has a view.
2020-04-11 09:40:49 +08:00
wolfbeast ce621f34df Issue #1511 - Bail on orphan situation.
This resolves #1511
2020-04-11 09:40:48 +08:00
Jan de Mooij 95db678f71 [js] Handle functions with rest parameters in isObservableArgumentSlot. 2020-04-11 09:40:45 +08:00
Matt A. Tobin b746a4196a Move aom source to a sub-directory under media/libaom
There is no damned reason to treat this differently than any other media lib given its license and there never was.
2020-04-11 09:40:44 +08:00
Matt A. Tobin 0b2694187d Silence removing dist/bin 2020-04-11 09:40:41 +08:00
Matt A. Tobin 4f0ac63dd9 Take files out of preprocessing that no longer require it 2020-04-11 09:40:39 +08:00
Matt A. Tobin 0f9c957cb1 Follow up to d0eee8f01 - Run precomplete cmd during package staging 2020-04-11 09:40:38 +08:00
Matt A. Tobin 837665b8d9 Align mar generation on Windows with other platforms
This makes mar generation dependent on packaging not installer
2020-04-11 09:40:37 +08:00
Matt A. Tobin bb6d11a8a8 Alter config.guess to properly detect host and target bitness on SunOS 2020-04-11 09:40:35 +08:00
wolfbeast c8b7ac3f86 [Docshell] Ensure nsDocShell::mContentViewer is released properly. 2020-04-11 09:40:34 +08:00
wolfbeast 4337a5f1a8 Issue #1505 - Part 3: Make native mode actually native again. 2020-04-11 09:40:32 +08:00
wolfbeast 11f8f80826 Issue #1505 - Part 2: Store application build ID in nsHttpHandler
Since we're needing to reuse this several times, it makes it simpler to
just get it once in init and storing it.
2020-04-11 09:40:31 +08:00
wolfbeast 41a3028a67 Issue #1505 - Rebuild application version string
To respond dynamically to the pref change, the mAppVersion string needs
to be rebuilt.
Includes some minor improvements for corner cases and removes leftover
b2g junk.
2020-04-11 09:40:30 +08:00
New Tobin Paradigm 011949484d Issue #1497 - Re-implement an un-preprocessed file check 2020-04-11 09:40:28 +08:00
wolfbeast 1ad6d00b61 Issue #1508 - Redirect moz://a to http://thereisonlyxul.org/ 2020-04-11 09:40:27 +08:00
wolfbeast db9dde67b9 Issue #1507 - Remove nsRefreshDriver's use of high res system timers.
Since we are using vsync for timing anyway in the layout refresh driver,
there is no need to bump the system timer resolution down to 1 ms.

This resolves #1507.
2020-04-11 09:40:25 +08:00
roytam1 87b1ac76d3 comment out ExtensionStorage.jsm in webextensions, fix building with --enable-webextensions 2020-04-03 10:18:18 +08:00
SpockFan02 4d10837586 [Pale-Moon] Issue #1754 - Update browser-gestureSupport to work on UXP Based on https://hg.mozilla.org/mozilla-central/file/fb921354f6ca063a873725e6702156dece1d282c/browser/base/content/browser-gestureSupport.js 2020-04-03 09:53:55 +08:00
Lootyhoof 33b1931a95 [Pale-Moon] Make OS X default theme integrate better 2020-04-03 09:52:37 +08:00
Pale Moon f704591f36 [Pale-Moon] Issue #1750 - Add pref to show edit panel upon starring new bookmark.
This resolves #1750
2020-04-03 09:52:18 +08:00