summaryrefslogtreecommitdiffstats
path: root/dom
Commit message (Collapse)AuthorAgeLines
* Bug 1365092 - Move side effects of SetAttr and ParseAttribute to ↵Matt A. Tobin2020-04-17-956/+983
| | | | | | | | | | | BeforeSetAttr and AfterSetAttr * Moves side effects of nsGenericHTMLElement and Element's SetAttr, UnsetAttr, and ParseAttribute functions to the corresponding BeforeSetAttr and AfterSetAttr functions * Moves side effects of HTMLAnchorElement's SetAttr, UnsetAttr, and ParseAttribute functions to the corresponding BeforeSetAttr and AfterSetAttr functions * Moves side effects of HTMLImageElement's SetAttr function to the corresponding BeforeSetAttr and AfterSetAttr functions * Moves side effects of SetAttr, UnsetAttr, and ParseAttribute functions to BeforeSetAttr and AfterSetAttr Tag #1375
* Bug 1367683 - Optimize initializing nsRangeMatt A. Tobin2020-04-17-43/+146
| | | | Tag #1375
* Bug 1363481 - Add the old attribute value as a parameter to ↵Matt A. Tobin2020-04-17-161/+352
| | | | | | Element::AfterSetAttr Tag #1375
* Bug 1355351 - Make pseudo-elements return the correct style via getComputedStyleMatt A. Tobin2020-04-17-72/+69
| | | | | | | | | * Add a node property to access the ::before and ::after pseudo-elements * Look for the frame for ::before and ::after pseudos * Clean up pseudo-element props * Simplify nsLayoutUtils callers, and make child iterators notice display: contents pseudos Tag #1375
* Issue #1375 - Include content rules from ↵Matt A. Tobin2020-04-17-259/+158
| | | | | | HTMLTableCellElement::WalkContentStyleRules and move to the mapped attr functionality * Bugs 1341647 and 1341648
* Bug 1352389 -Don't push extra script blocker on stack when setting attributesMatt A. Tobin2020-04-17-12/+27
| | | | Tag #1375
* Bug 1330843 - Allow JS to create NAC pseudo-elementsMatt A. Tobin2020-04-17-1/+70
| | | | Tag #1375
* Bug 1346623 - Allow anonymous content created with ↵Matt A. Tobin2020-04-16-0/+40
| | | | | | | | | 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
* Bug 1347640 - HTMLInputElement shouldn't try to cancel image request on all ↵Matt A. Tobin2020-04-16-66/+73
| | | | | | | | | 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
* Bug 656197 - Push state updates further out across beforesetattr/aftersetattrMatt A. Tobin2020-04-16-117/+84
| | | | | | | | | | * 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
* Issue #1375 - Overload FromContent() to work with constMatt A. Tobin2020-04-16-0/+8
|
* Bug 1343937 - Fix a crash in nsWrapperCache.hMatt A. Tobin2020-04-16-0/+8
| | | | | | | * Implement and use GetInFlowParent * Exempt scrollbar NAC from the new NAC semantics Tag #1375
* Bug 1340333 - Eagerly compute whether a frame is really a browser.Matt A. Tobin2020-04-16-22/+19
| | | | Tag #1375
* Bug 1331322 - Allow tagging of pseudo-implementing native anonymous content ↵Matt A. Tobin2020-04-16-21/+68
| | | | | | | | | | | 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
* Bug 1321284 - Crash in nsCSSFrameConstructor::GetInsertionPrevSibling when ↵Matt A. Tobin2020-04-14-34/+143
| | | | | | | | | | | | 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
* Bug 1305458 - Changing -moz-appearence on hover breaks change eventMatt A. Tobin2020-04-14-258/+547
| | | | | | | | | | | | | | | | | | | * 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
* Take files out of preprocessing that no longer require itMatt A. Tobin2020-04-07-4/+1
|
* Output webidl filenames as they are processedMatt A. Tobin2020-03-31-0/+2
|
* [DOM] Make sure to exit fullscreen mode if popups are opened or focused.wolfbeast2020-03-18-0/+9
|
* [DOM] Add a null checkwolfbeast2020-02-26-1/+1
|
* Follow-up to 4e2e9be6a - Move HeapSnapshot DevTools-only Modules back to ↵Matt A. Tobin2020-02-23-2350/+0
| | | | | | | | DevTools I am so done with this. Resolves #316
* Reclassify heapsnapshot and nsJSInspector as not part of devtoolsMatt A. Tobin2020-02-22-0/+17795
| | | | This resolves Issue #316
* Issue #1053 - Remove android support from NPAPIMatt A. Tobin2020-02-20-3639/+14
|
* Merge pull request #1458 from MoonchildProductions/316Moonchild2020-02-20-1/+20
|\ | | | | Fix buildability of builds without devtools-server
| * Issue #316 - Be more gentle with the CC and nursery.wolfbeast2020-02-20-9/+5
| |
| * Issue #316 - Pre-process Performance.webidlwolfbeast2020-02-20-1/+1
| |
| * Issue #316 - Make the memory GC performance object conditional (WIP)wolfbeast2020-02-20-0/+23
| | | | | | | | | | This was only added for GCubench and likely interfering with building without devtools-server.
* | Issue #1457 - Unfold sqlite3 from nssMatt A. Tobin2020-02-20-13/+2
|/
* [IndexedDB] Ensure that strong references to newly created cursors areSimon Giesecke2020-02-14-2/+4
| | | | | | | kept until the DOM Binding is created. This fixes random crashes on websites that use IndexedDB cursors. See also BZ bug 1599420
* [CSP] Allow not having a Port for RessourceURI if the Scheme has nowolfbeast2020-02-11-1/+15
| | | | Default Port
* Issue #80 - Stop building non-generated dom/binding files as UNIFIED_SOURCESMatt A. Tobin2020-02-08-3/+13
| | | | Also fix deprot
* Directly assign PrimitiveConversions.h to the generated binding of ↵Matt A. Tobin2020-02-08-0/+6
| | | | | | | | KeyframeAnimationOptions. This is a hack to deal UnifiedBindings trying to deal with an incomplete codegen implementation so it was worked around with a hack back in Firefox 30-something. If we have anymore of this non-sense crop up as stuff is added or removed from DOM then extend this conditional. Least until something better comes along.
* Merge pull request #1388 from win7-7/devirtualize-prMoonchild2020-02-07-3/+17
|\ | | | | Merging this in even without a test performed since the code change looks sane. real-world testing will have to be performed.
| * Issue #1386 - Devirtualize GetRowSpan/GetColSpanwin7-72020-02-03-3/+17
| | | | | | | | It's at ~1.5% on the perf log for the Netflix use case, which seems a bit too much.
* | Issue #1395 - Part 2: Remove the /rest/ of FlyWebMatt A. Tobin2020-02-06-4420/+0
| |
* | Issue #1395 - Remove FlyWeb ServiceMatt A. Tobin2020-02-06-216/+0
| |
* | Issue #1390 - Get rid of the Presentation APIMatt A. Tobin2020-02-06-29274/+0
| |
* | Issue #26 - Part 2c: Remove dependence on gmp/widevine-adapter/*wolfbeast2020-02-05-5/+11
| |
* | Issue #26 - Part 2b: Stub out GMPDecryptorProxy functions.wolfbeast2020-02-04-1/+35
| | | | | | | | | | | | | | | | If EME isn't built, these functions would have no use and the callback structures are unavailable. Stubbing these out will still allow the callers to work unchanged, but in effect simply always return without dispatching a promised task. This fixes the dependency issue from part 2a.
* | Issue #26 Part 2a: make more EME code conditional.wolfbeast2020-02-03-21/+126
|/ | | | | | - Exclude missed MediaKey functions and CDMProxy code. - Exclude EME APIs frm being built (webidl change) - Fix tests in --disable-eme state
* Issue #1384 - Match standard for colSpan/rowSpanwin7-72020-02-03-19/+59
| | | | | | HTML standardizes proper behavior of colSpan and rowSpan: The main thing is that getting the .rowSpan and .colSpan IDL properties will now return the actual clamped value that we use.
* Issue #65 - Remove AppConstants from dom/Matt A. Tobin2020-02-01-19/+18
|
* [WebRequest] Remove AddonManagerPermissions leftoverswolfbeast2020-01-29-5/+0
| | | | | | This was added as part of the WebExtension sec issue CVE-2017-5389. Since we no longer have this interface, it needed to be removed to prevent errors in the WebRequest channel callback.
* Merge branch 'master' of https://github.com/MoonchildProductions/UXP into ↵athenian2002020-01-27-3068/+4036
|\ | | | | | | form-disabled-issue
| * Bug 1430951 - Avoid element name atomizing to improve performance of ↵Gaming4JC2020-01-26-10/+14
| | | | | | | | | | | | | | | | LookupCustomElementDefinition Since we are dealing with the element (nodeInfo->LocalName() and NameAtom() are the same value), we could use nodeInfo->NameAtom() instead. Tag UXP Issue #1344
| * Bug 1430034 - Fix attributeChangedCallback isn't fired with correct newValue ↵Gaming4JC2020-01-26-1/+1
| | | | | | | | | | | | when the attribute value is an empty string; Tag UXP Issue #1344
| * Bug 1421544 - Lazy push/pop CustomElementReactionsStack entry;Gaming4JC2020-01-26-19/+96
| | | | | | | | Tag UXP Issue #1344
| * Bug 1413815 - Convert 'observedAttributes' to a sequence<DOMString>Gaming4JC2020-01-26-5/+13
| | | | | | | | Tag UXP Issue #1344
| * Bug 1407669 - Fix custom element creation hides uncatchable exceptions from ↵Gaming4JC2020-01-26-0/+40
| | | | | | | | | | | | the constructor. Tag UXP Issue #1344
| * Bug 1419305 - Part 2: Keep processing remaining elements in ElementQueue ↵Gaming4JC2020-01-26-4/+5
| | | | | | | | | | | | even if some of elements are already unlinked Tag UXP Issue #1344