Commit Graph

4753 Commits

Author SHA1 Message Date
Kyle Huey
22022a0f39 Merge m-c to b-s. 2012-05-26 14:22:26 -07:00
Mats Palmgren
24ade09d2a Bug 719117 - Use down-cast instead of separate member with correct type. r=roc 2012-05-26 02:43:44 +02:00
Mats Palmgren
c941bd0537 Bug 719117 - Fix bug 724781 by preventing reentry to DoStopPlugin with a flag. part 2/2, r=bsmedberg 2012-05-26 00:34:11 +02:00
Mats Palmgren
51d26059a3 Bug 719117 - Backout bug 724781. part 1/2, r=bsmedberg 2012-05-26 00:34:11 +02:00
Kyle Huey
8aee605205 Bug 757284: Restore Blob.mozSlice, with a deprecation warning. r=sicking 2012-05-25 11:44:38 -07:00
Ms2ger
2d6f04146c Merge m-c to m-i. 2012-05-25 11:15:32 +02:00
Ms2ger
52d75b2704 Bug 756896 - Don't include xpcprivate.h in FileIOObject.cpp; r=khuey 2012-05-25 09:18:31 +02:00
Boris Zbarsky
8f33a1bf10 Bug 749864. Codegen for typed array and arraybuffer arguments. r=peterv 2012-05-25 01:07:03 -04:00
Bobby Holley
0639533b11 Bug 758563 - Warn when __exposedProps__ is missing. r=bz 2012-05-25 18:42:40 +02:00
Ed Morley
cd9f362b03 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-05-24 15:48:20 +01:00
Olli Pettay
d92eb17245 Bug 757700, make sure attr modification type is set, r=sicking
--HG--
extra : rebase_source : ed2b2cc803cbd494b33a4e343efee9bd76f7e54a
2012-05-24 13:31:35 +03:00
Alexander Surkov
05d6b0b663 Bug 757670 - make nsIPresShell::GetLinkLocation faster, r=bz, tbsaunde 2012-05-24 15:57:16 +09:00
Ryan VanderMeulen
88e2886376 Backout 8cf563a575fd (bug 734015) due to random Moth orange. 2012-05-23 19:27:40 -04:00
Olli Pettay
aae9ef2d6f Bug 734015 - Try to slow down parsing of web pages in background tabs, r=hsivonen 2012-05-23 15:55:13 +03:00
Olli Pettay
3a99713780 Bug 749920 - Unprefix MozMutationObserver and add a warning about use of mutation events, r=sicking 2012-05-23 13:45:14 +03:00
Doug Turner
f4e1e809f4 Bug 717103 - Implement Device Storage. r=sicking 2012-05-21 09:18:30 -07:00
Alexander Surkov
1ea076a4d7 Bug 756383 - make nsHTMLAnchorElement::IsHTMLFocusable faster, r=bz 2012-05-23 12:03:32 +09:00
Jignesh Kakadiya
52cc718b84 Bug 756576 - nsDOMAttributeMap::Init should be removed. r=bsmedberg 2012-05-22 20:21:45 -04:00
Jonathan Hage
3257e722c0 Bug 673759 - Remove namedspace value overriding, part 2. r=karlt 2012-05-22 20:21:44 -04:00
Peter Van der Beken
5e88453bf6 Fix for bug 741263 (Paris bindings constructors shouldn't abuse reserved identifiers). r=bz.
--HG--
extra : rebase_source : cec6a0ffc58f3d7d262dc9658d52aac424ec715a
2012-04-26 22:57:33 +02:00
Chris Pearce
4a0dcd015a Bug 757296 - Replace windows line endings with unix line endings in nsDocument.cpp. r=line-endings 2012-05-22 12:38:34 +12:00
Doug Turner
d66dfa7486 Bug 673586 - Implement lastModifiedDate property for the File interface. Type followup r=mounir 2012-05-21 15:26:54 -07:00
Doug Turner
52a3ef54a0 Bug 673586 - Implement lastModifiedDate property for the File interface. r=mounir 2012-05-21 15:11:56 -07:00
julian.reschke@gmx.de
a492595d68 Bug 663057 - support RFC2231/5987 encoding for title parameter in HTTP link header fields. r=hsivonen 2012-05-21 06:31:00 -07:00
Chris Pearce
643d598f69 Bug 756992 - Only show fullscreen warning/UI when crossing domain boundaries or when document isn't approved. r=smaug 2012-05-22 08:43:36 +12:00
Chris Pearce
a462b79857 Bug 753546 part 3 - Record fullscreen approval in nsDocument flag. r=smaug 2012-05-22 08:43:36 +12:00
Chris Pearce
3587615bcf Bug 753546 Part 1 - Make nsDocument listen for 'fullscreen-approved' notification rather than 'perm-changed' to signal fullscreen approved. r=smaug 2012-05-22 08:43:36 +12:00
Ed Morley
7bdae23f76 Backout 027ed1748c81 (bug 740485) for M3 orange 2012-05-21 19:36:43 +01:00
Doug Turner
23116ffc7c Bug 740485 - Implement Device Storage. r=sicking 2012-05-21 09:18:30 -07:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Shawn Landden
9090ce4940 Bug 747257 - Part 1: Load .mp4 files in a document wrapper. r=rillian
When compiled with --enable-gstreamer, use a document loader for video/mp4,
and associate that type with the decoder in nsHTMLMediaElement.

Bug 422540 fix lets gstreamer render h.264 videos from within webpages with
<video>, however to view these files when loaded directly we need to recognize
their Content-Type.
2012-05-17 17:19:21 -07:00
Kyle Machulis
d33a38a819 Bug 742044 - Create BluetoothManager object for managing multiple adapters and firmware loading; r=bent 2012-05-23 21:02:23 -07:00
Kyle Machulis
9d208f726a Backing out Bug 742044 - Bustage on B2G 2012-05-23 18:27:53 -07:00
Kyle Machulis
c4a1fa5a03 Bug 742044 - Create BluetoothManager object for managing multiple adapters and firmware loading; r=bent 2012-05-23 18:21:05 -07:00
Kyle Machulis
1f76f17d72 Backing out Bug 742044 - contained extra patches for another bug 2012-05-23 18:18:24 -07:00
Kyle Machulis
a3821f7a1b Bug 742044 - Create BluetoothManager object for managing multiple adapters and firmware loading; r=bent 2012-05-23 18:06:36 -07:00
Ryan VanderMeulen
ad5057d319 Merge m-c to inbound 2012-05-23 19:35:05 -04:00
Neil Deakin
994d3d4070 Bug 757485, remove nsIXBLService and use nsXBLService directly, r=bz 2012-05-23 14:46:04 -04:00
Sid Stamm
643bfbcc0b Bug 612391 - Convert CSP violation reporting from XHR to nsIUploadChannel. r=jonas 2012-05-23 16:00:42 -07:00
Ehsan Akhgari
529306539d Bug 688438 - Fix the IME code to handle text controls correctly when checking for IME status; r=bzbarsky 2012-05-24 17:49:44 -04:00
Benjamin Smedberg
2187798a40 Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Benjamin Smedberg
d66580991f Bug 755323 - Uploading large files with DOM File or FileReader will abort the browser from string OOM part 1 (ignoring the data: URI case for now), r=bz
--HG--
extra : rebase_source : 1f8dc688f869f307c5f33ea844ca98020380343e
2012-05-18 12:42:01 -04:00
Henri Sivonen
e7f0fbb03a Bug 753278 - Make document.open() after aborting the parser a no-op. r=smaug. 2012-05-18 15:06:28 +03:00
Ms2ger
faa0b8ae7d Merge m-c to m-i. 2012-05-18 13:32:20 +02:00
Robert Longson
b2c0e30df6 Bug 528332 - Implement non-scaling-stroke vector-effect. Part 2 - SVG changes r=dholbert 2012-05-18 09:34:25 +01:00
Ms2ger
896f9b9ace Bug 756073 - Remove xpcprivate.h include from nsGenericElement.cpp; r=bholley 2012-05-18 10:29:40 +02:00
Ms2ger
3b577015ad Bug 755200 - Simplify SetSelectionAroundHeadChildren; r=ehsan 2012-05-18 10:29:39 +02:00
Ms2ger
79e49f2965 Bug 750053 - Part a: Add nsISelection::Collapsed(); r=smaug 2012-05-18 10:29:39 +02:00
Ms2ger
495c4878c8 Bug 361460 - nsDocumentFragment::QI should not fall through to nsGenericElement::QI; r=sicking 2012-05-18 10:29:38 +02:00
Masatoshi Kimura
f61723f6fb Bug 752402 - Support ArrayBufferView as a member of blobParts parameter. r=sicking 2012-05-17 17:53:44 -04:00
Jason Duell
87a4ee092b Bug 748580 - websockets: omit close code when none passed to close(). r=mcmanus 2012-05-17 10:56:56 -07:00
Robert Longson
a067109b15 Bug 512525 - Implement SVG Fragment Identifier parsing and animation hyperlinking - Part 2 main implementation. r=jwatt 2012-05-17 11:02:41 +01:00
Jason Duell
9037c34d93 Bug 753179 - Websockets: never send 1005 close code on the network. r=smaug 2012-05-16 17:09:42 -07:00
Jason Duell
a4a8ae0b9a Backed out changeset c567e28272d5: wrong bug # 2012-05-16 17:06:43 -07:00
Jason Duell
9e2b38b887 Bug 748580: Do not reply to server close with 1005/1006/1015 as close code. r=smaug 2012-05-16 17:05:06 -07:00
Doug Turner
8313ba6d13 Bug 751663 - Implement new device proximity like event that fires only when the screen is close to the user's face. r=smaug 2012-05-16 13:27:54 -07:00
Brian R. Bondy
5a6ca4a3a1 Bug 137450 - Fixed bug with end context not being included in HTML Format. r=bz 2012-05-16 12:39:54 -04:00
lwz
32d78b6bbb Bug 137450 - Problem copying and pasting a table from a web page to excel. r=bz 2012-05-16 12:39:54 -04:00
Justin Lebar
30fbdf20b2 Bug 755320 - Make <iframe remote=true> work (the remote part should be ignored; it's just a normal iframe). r=smaug 2012-05-16 01:28:57 -04:00
Justin Lebar
505d34a3ac Bug 755001 - Allow <iframe mozbrowser> to be explicitly in- or out-of-process. r=smaug 2012-05-16 01:28:56 -04:00
Ed Morley
09132a48b2 Backout f177646e2aa2 (bug 755320), 1bae327de007 (bug 755001) for test_browserFrame7.html M3 failures 2012-05-15 18:38:50 +01:00
Benoit Jacob
6598b33e08 Bug 732875 - 8/8 - move CheckedInt to MFBT, enable unit tests in mfbt/tests - r=jwalden
--HG--
rename : xpcom/ds/CheckedInt.h => mfbt/CheckedInt.h
2012-05-14 15:50:20 -04:00
Justin Lebar
b9c6be98de Bug 755320 - Make <iframe remote=true> work (the remote part should be ignored; it's just a normal iframe). r=smaug 2012-05-15 12:36:43 -04:00
Justin Lebar
0a35198be0 Bug 755001 - Allow <iframe mozbrowser> to be explicitly in- or out-of-process. r=smaug 2012-05-15 12:36:33 -04:00
Ehsan Akhgari
46b9cd51f7 Merge mozilla-central into mozilla-inbound 2012-05-24 14:52:27 -04:00
Josh Matthews
c78ac89a1d Bug 722845 - Part 5: Disable offline cache entries for private channels. r=mayhemer 2012-05-24 16:31:54 +01:00
Alexandre Poirot
b4a491a91f Bug 682305 - nsXMLHttpRequest::Send fails with mChannel being implemented in JS. r=sicking 2012-05-10 19:58:48 +01:00
Blake Kaplan
557af2f0e7 Backed out changeset ad106d37ee43. The bug number in the changeset was wrong. 2012-05-15 12:03:01 +02:00
Alexandre Poirot
f2ad750bab Bug 736046 - nsXMLHttpRequest::Send fails with mChannel being implemented in JS r=sicking
--HG--
extra : rebase_source : 447999d425cb6a405c287fecdcfc7810676ea3b9
2012-05-10 19:58:48 +01:00
Robert O'Callahan
2bbcb226e2 Bug 754556. Ensure that setting scroll positions in CSS pixels doesn't unexpectedly move the scroll position, especially not in the wrong direction. r=matspal
If the current scroll position is fractional, e.g. y=N.4 CSS pixels, and something tries to read the
position in CSS pixels and scroll to that position (e.g. calling window.scrollTo(0, rootElem.scrollTop),
or equivalently window.scrollBy(0, 0)), it can actually end up scrolling backwards. So create a new
method nsIScrollableFrame::ScrollToCSSPixels which ensures that scrolling to a CSS pixel offset tries to
preserve the current fractional scroll position if that's possible, and if that's not possible at least does
not allow the scroll position to move in the wrong direction.
2012-05-15 17:58:09 +12:00
Ryan VanderMeulen
21d08d0adc Backout 449229be3db1 (bug 749455) to fix reftest failures. r=TrySchmy 2012-05-14 20:32:00 -04:00
David Keeler
f01f5458db Bug 749455 - Use mContentType for click-to-play plugins in nsObjectLoadingContent::OnStartRequest. r=josh 2012-04-27 17:01:07 -07:00
Ed Morley
d38b916352 Backout 345ae68f15f4, b3b40121ac8d, 0d18b7a246d7, 9dbb6064ab58, dee9d7fa8eb6, 63eec6bfa948, 323c6be7cfe8 & f4aac7523a48 (bug 732875) for compilation failures 2012-05-14 21:05:24 +01:00
Benoit Jacob
43d4449b09 Bug 732875 - 8/8 - move CheckedInt to MFBT, enable unit tests in mfbt/tests - r=jwalden
--HG--
rename : xpcom/ds/CheckedInt.h => mfbt/CheckedInt.h
2012-05-14 15:50:20 -04:00
Matt Brubeck
d9a57e0763 Bug 754759 [leave open] - Mark 752226-1.html or 752226-2.html as asserting randomly [r=Ms2ger] 2012-05-14 08:30:20 -07:00
Andrew McCreight
4915a0b128 Bug 754151 - add macros for basic wrappercached cycle collected classes. r=smaug 2012-05-14 08:24:03 -07:00
Matt Brubeck
e67f46f75f Merge mozilla-central and mozilla-inbound 2012-05-13 08:27:03 -07:00
Ms2ger
e25ca3b08c Bug 752226 - Tests. r=evilpie 2012-05-11 17:46:54 +02:00
Tom Schuster
889e3a0487 Bug 752226 - Remove any use of JSVAL_IS_OBJECT. r=luke,Ms2ger 2012-05-11 17:46:26 +02:00
Mihai Sucan
0b9ab83152 Bug 673148 - (async-webconsole) Fix nsFrameMessageManager crasher; r=smaug 2012-05-04 19:45:03 +03:00
Olli Pettay
84d5ebb475 Bug 754089 - remote mozbrowser's messagemanager shouldn't have parent, r=jlebar 2012-05-11 10:47:40 +03:00
Joe Drew
f71f46752d Merge last PGO-clean cset from inbound to central. 2012-05-10 21:25:37 -04:00
Mounir Lamouri
18041509b8 Bug 753978 - Be able to know if a window is part of an application. r=jlebar 2012-05-10 17:56:21 -07:00
Benjamin Smedberg
d1c11dffe5 Bug 737164 part C - switch various in-tree callers which are using fallible strings to keep using them
--HG--
extra : rebase_source : f5b42ba1f5745b256ba4e4ca67c883696904f9c1
2012-05-08 13:55:24 -04:00
Ed Morley
4c4c3cfd18 Backout 9b0fcaacb788 & bf3fef257e68 (bug 752226) for mochitest-other orange 2012-05-11 18:25:52 +01:00
Ms2ger
c1fa3cfc6e Bug 752226 - Tests. r=evilpie
--HG--
extra : rebase_source : 7a0d155ab7d7898ca4c96b86ae6f706172c7c71f
2012-05-11 17:46:54 +02:00
Tom Schuster
6e0861373a Bug 752226 - Remove any use of JSVAL_IS_OBJECT. r=luke,Ms2ger
--HG--
extra : rebase_source : edf2077f8b8bad1970eab6ebe9996e761d4e596c
2012-05-11 17:46:26 +02:00
Oleg Romashin
01f49c7c7b Bug 681192. Part 5: Make various DOM scroll APIs --- scrollTop, scrollLeft, window.scrollTo, scrollBox.scrollTo, scrollBox.scrollToLine, scrollBox.scrollBy --- use an appropriate allowed scroll destination range. r=roc,r=matspal
--HG--
extra : rebase_source : 83ee44530c67229686ec0dce3628da83e0e93438
2012-02-07 12:24:15 -08:00
Ehren Metcalfe
db8f0e31ca Bug 751035 - Remove various unused nsHTML*Element related methods. r=jst 2012-05-09 18:55:56 -04:00
Ehsan Akhgari
2be6b796b2 Bug 612128 - Prevent the editor from modifying nodes which are not under an editing host; r=roc,bzbarsky
This patch ensures that the NODE_IS_EDITABLE flag is only set on nodes living
under an editing host.  Things like text controls which used to have that flag
previously will not have it any more.  The flag would be set on their anonymous
div node instead.  Note that if text controls actually fall under an editing
host, they will get the NODE_IS_EDITABLE flag.

This patch also makes nsHTMLEditor::IsEditable return sane results (text nodes
are always considered to be editable).
2010-11-16 15:45:49 -05:00
Nathan Froyd
b55f7f45cf Bug 747508 - Count PresContexts in about:memory; r=njn 2012-05-07 16:09:11 -04:00
Mark Capella
cce7855327 Bug 749367 - script type=texttemplate content parsed as JavaScript (+E4X), r=jst, f=ms2ger, mbrubeck, jdm 2012-05-09 07:24:24 -07:00
Chris Pearce
eed556a49b Bug 746885 part 1 - Make pointer lock requests wait until fullscreen is approved before being granted. r=smaug 2012-05-09 09:47:20 +12:00
Chris Pearce
69fad75f3b Bug 716107 part 4 - Dispatch MozEnteredDomFullscreen to document which requests fullscreen. r=smaug 2012-05-09 09:47:19 +12:00
Chris Pearce
cad06a23d5 Bug 716107 part 3 - Don't dispatch 'MozShowFullScreenWarning' event upon keypress in DOM fullscreen mode. r=smaug 2012-05-09 09:47:18 +12:00
Chris Pearce
43c670b220 Bug 716107 part 2 - Remove full-screen-api.key-input-restricted keys pref. r=smaug 2012-05-09 09:47:18 +12:00
Justin Lebar
cdc2cdd948 Bug 749018 - Make OOP <iframe mozbrowser> pass current browser frame tests. r=smaug,cjones
--HG--
extra : rebase_source : f15018bf2c9427a0d6e8d44da348d8d7d1693219
2012-05-08 09:20:35 -07:00
Aryeh Gregor
3c77c5664c Bug 700538 part 2 - Make methods that return editing hosts return dom::Element* instead of nsIContent*; r=ehsan 2012-05-06 10:53:11 +03:00
Jared Wein
c9e5477a25 Bug 748701 - Followup: typo fix, forgot to set rv. r=me 2012-05-07 14:15:22 -07:00
Simon Montagu
6f401a70e8 Test for word-break in 16-bit text as well as 8-bit. Bug 249159 r=jfkthame 2012-05-07 12:18:23 -07:00
Makoto Kato
3ffb4bf799 Bug 249159 - Part 1 Add word-break interface to nsILineBreaker. r=smontagu 2012-05-07 12:18:23 -07:00
Boris Zbarsky
fa88b9861d Bug 749485. Switch new DOM bindings to using a struct for keeping track of failures for fallible methods. r=peterv,bent
ErrorResult is in a separate header file so it can be included from all over the
place without having to pull in mozilla/dom/Utils.h and all the xpconnect gunk
that needs.
2012-05-05 21:15:11 -04:00
Phil Ringnalda
d3adeb4433 Back out 1907bf7e6d7c (bug 749485) for build bustage 2012-05-05 20:33:59 -07:00
Boris Zbarsky
cc67ef4fb6 Bug 749485. Switch new DOM bindings to using a struct for keeping track of failures for fallible methods. r=peterv,bent
ErrorResult is in a separate header file so it can be included from all over the
place without having to pull in mozilla/dom/Utils.h and all the xpconnect gunk
that needs.
2012-05-05 21:15:11 -04:00
Ms2ger
9f3641f0f6 Bug 751323 - Cleanup nsHTMLEditRules::RemoveEmptyNodes(); r=ehsan 2012-05-05 11:00:06 +02:00
Ms2ger
9a5ae693e0 Bug 741245 - Remove nsresult return value from nsXPConnect::GetSafeJSContext(); r=bholley 2012-05-05 11:00:05 +02:00
Olli Pettay
585c02c8bd Bug 561664 - document.activeElement should never return native anonymous content, r=enndeakin 2012-05-04 17:41:49 +03:00
Doug Turner
9eaa2d7486 Bug 738465 - implement device light sensor. r=smaug 2012-05-02 09:43:45 -07:00
Doug Turner
f158836867 Bug 738131 - implement device proximity. r=smaug
* * *
Bug 738131 - implement device proximity. gonk implementation. r=mwu
2012-05-02 09:43:45 -07:00
Daniel Holbert
7b162634e7 Bug 750370: Fix incorrect bounds-check for unsigned value nsRadioGroupStruct::mRequiredRadioCount. r=mounir 2012-05-03 18:54:39 -07:00
Andrew McCreight
e9753b7090 Bug 744103, part 3 - Change NoteRoot to NoteJSRoot and NoteNativeRoot. r=smaug 2012-05-03 12:28:11 -07:00
Andrew McCreight
38b851ba07 Bug 744103, part 2 - Change NoteScriptChild to NoteJSChild. r=smaug 2012-05-03 12:28:10 -07:00
Ed Morley
2d35fc9b56 Merge mozilla-central to mozilla-inbound 2012-05-03 20:13:41 +01:00
Jared Wein
55d0a6cf81 Bug 748701 - Crash in nsObjectLoadingContent::IsPluginEnabledForType. r=joshmoz 2012-05-03 12:31:29 -04:00
Olli Pettay
23e1d57c14 Bug 751561 - Call forgetSkippable at least twice before CC, r=mccr8
--HG--
extra : rebase_source : 7434eb9be0bbdfd7fe44e1aeced9698d6c0627e1
2012-05-03 19:17:01 +03:00
Bobby Holley
b7e05a0784 Bug 750859 - remove unused (or seldom-used) PrivilegeManager functions. r=bz 2012-05-02 23:57:34 +02:00
Masatoshi Kimura
c0d9bc2d8d Bug 750023 - Add a null check in nsXMLHttpRequest::CreatePartialBlob. r=smaug 2012-04-30 15:49:15 -07:00
Andrew McCreight
c7b15dad64 Bug 737075 - unmark gray strongly held observers implemented in JS. r=bsmedberg, smaug 2012-04-30 12:01:11 -07:00
Robert O'Callahan
1fe7590d18 Bug 664918. Part 0: Refactor nsMediaCache's handling of principals into a helper method in nsContentUtils. r=bzbarsky 2012-04-30 15:11:00 +12:00
Ryan VanderMeulen
b7a26726b2 Merge m-c to m-i 2012-04-29 16:35:05 -04:00
Ed Morley
0183a7123f Merge mozilla-central to mozilla-inbound 2012-04-27 17:57:52 +01:00
Aryeh Gregor
5ac3b1b2c3 Bug 748725 - nsINode::GetParentElement() should return dom::Element*; r=smaug 2012-04-27 16:21:12 +03:00
Ed Morley
fb66bff90a Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-04-27 12:52:26 +01:00
Olli Pettay
8ddef242ff Backout Bug 747675 to see if it has caused startup crashes 2012-04-27 13:37:55 +03:00
Phil Ringnalda
fe946c3539 Merge m-c to m-i 2012-04-26 21:40:59 -07:00
Olli Pettay
5bb9c161f6 Bug 747675, try to decrease max forgetSkippable times, r=mccr8 2012-04-25 16:43:18 +03:00
Ed Morley
eb2b16513c Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-04-26 13:46:02 +01:00
Kyle Huey
e87571c44e Merge m-i to m-c. 2012-04-25 20:22:53 -07:00
Justin Lebar
736f94b4ef Bug 714861 - Run <iframe mozbrowser> in a separate process (disabled by default). r=cjones,bz,tn,smaug 2012-04-25 12:35:58 -04:00
Ed Morley
2666b058b1 Backout 949cb1977ef9 (bug 714861) for build bustage 2012-04-25 16:51:31 +01:00
Justin Lebar
e59845cd83 Bug 714861 - Run <iframe mozbrowser> in a separate process (disabled by default). r=cjones,bz,tn,smaug 2012-04-25 11:29:28 -04:00
Olli Pettay
083b3ec440 Bug 740063 - Add nsINode::AsDOMNode(), r=jst
--HG--
extra : rebase_source : a838243c11e212ec419df1dd1a219e955c4edc2d
2012-04-25 16:47:30 +03:00
Olli Pettay
035e6ba78f Bug 747675, try to decrease max forgetSkippable times, r=mccr8
--HG--
extra : rebase_source : 1378eaedd2c24ec8ccb37506d71858087925bf10
2012-04-25 16:43:18 +03:00
Aryeh Gregor
874f428261 Bug 702948 - Make Range.detach() a no-op; r=smaug 2012-04-25 15:03:48 +03:00
Masayuki Nakano
e089b336f8 Bug 630811 part.2 Replace nsInputEvent::isShift, nsInputEvent::isControl, nsInputEvent::isAlt and nsInputEvent::isMeta r=smaug 2012-04-25 12:00:02 +09:00
Ehsan Akhgari
c7d143b9fa Merge mozilla-central into mozilla-inbound 2012-04-24 21:29:44 -04:00
Aryeh Gregor
d9fb0a3314 Bug 480647 part 2 - Move ParseLegacyFontSize to nsContentUtils so editor/ can use it; r=bz 2012-04-24 13:57:23 +03:00
Ed Morley
352ceec39d Merge from mozilla-central 2012-04-24 11:46:16 +01:00
Aryeh Gregor
c7d23199c4 Bug 599983 part 2 - Don't emit or process _moz_dirty more than necessary; r=ehsan,bz 2012-04-24 09:06:11 +03:00
Serge Gautherie
0de2062243 Bug 744663. (Cv1) Use 'test' pre instead of redundant 'log' pre, Improve on-screen logging. r=smaug.
(a=test-only)
2012-04-24 03:02:33 +02:00
Serge Gautherie
d5db47c735 Bug 744663. (Bv1) Inline finishWSTest(), Use executeSoon() between sub-tests, Improve message contents, Receive "end" messages too, Add an additional forcegc(), Nits. r=smaug.
(a=test-only)
2012-04-24 03:01:35 +02:00
Serge Gautherie
57059c57c4 Bug 744663. (Av1) Improve documentation and logs, Nits. r=smaug.
(a=test-only)
2012-04-24 03:00:43 +02:00
Ehsan Akhgari
fec480dc6c Merge mozilla-central into birch 2012-04-22 16:10:35 -04:00
Ehsan Akhgari
f46cd86f86 Bug 747516 - Admit mozilla::dom::Link into a weight loss program; r=bz 2012-04-20 17:48:54 -04:00
Phil Ringnalda
017e6a2601 Back out dd82458147fd (bug 714861) for mochitest-3 failures and Linux mochitest-chrome leaks 2012-04-19 20:06:34 -07:00
Justin Lebar
ceda947d1e Bug 714861 - Run <iframe mozbrowser> in a separate process (disabled by default). r=cjones,bz,tn,smaug 2012-04-20 09:54:43 +10:00
Nicholas Nethercote
76a872e30a Bug 747803 - Remove NS_SIZE_IN_HEAP. r=bz. 2012-04-19 14:15:23 +10:00
David Keeler
42c3843cfa Bug 743429 - channelType can also be binary/octet-stream in nsObjectLoadingContent::OnStartRequest. r=joshmoz 2012-04-11 15:38:43 -07:00
Ehsan Akhgari
54b7d07b21 Merge mozilla-central and mozilla-inbound; a=me 2012-04-18 16:26:35 -04:00
Jared Wein
f13f9d18eb Bug 711618 - Platform changes for click-to-play permissions. r=josh a=blassey 2012-04-18 11:40:55 -07:00
Ed Morley
28113eace9 Merge last PGO-green changeset of mozilla-inbound to mozilla-central a=merge 2012-04-17 17:47:09 -07:00
Olli Pettay
7fb32d1337 Bug 743178, CORS may keep XHR alive too long, r=bz, a=tracking-firefox14+ 2012-04-17 23:55:40 +03:00
Daniel Holbert
c63a29715b Bug 744464: Fix incorrect bounds-check of unsigned value in nsPlainTextSerializer::AppendElementEnd. r=smaug 2012-04-17 09:55:50 -07:00
Henri Sivonen
e1d2b4b167 Bug 744366 - Assert about old readyState before readyState transitions. r=bzbarsky. 2012-04-17 09:41:49 +03:00
Aryeh Gregor
9c718775c7 Bug 702948 - Add telemetry to count how many ranges are detached; r=smaug 2012-04-17 17:36:22 +03:00
Tanvi Vyas
0a66ad886a bug 570505 - fix csp to avoid creating strings from URIs and un-hose test_bug558431. r=dveditz 2012-04-17 06:16:05 -07:00
David Keeler
1db5141197 Bug 739575 - Prioritize click-to-play over alternate content in nsObjectLoadingContent::GetPluginSupport. r=josh 2012-04-26 16:25:21 -07:00
Daniel Holbert
66f34b8da9 Bug 749229: Remove unnecessary assertion about unsigned value being >=0, in nsEventSource::SetReconnectionTimeout. r=smaug 2012-04-26 09:42:28 -07:00
Masatoshi Kimura
f17f15dabb Bug 745498 - Add testcases for DOM4 exception types. r=sicking 2012-04-26 09:42:26 -07:00
David Anderson
38bfcb0aba Remove simple JS_FrameIterator use from content, DOM, and caps (bug 744617, r=mrbkap).
--HG--
extra : rebase_source : 003a5285b549845d47c9298606d737620db5bb3d
2012-04-16 12:30:00 -07:00
Josh Aas
ea708e3e6b Bug 745241: Clean up some plugin stream functions. r=bsmedberg 2012-04-15 17:34:01 -04:00
Ms2ger
d460ea9808 Bug 743438 - Move some style rule functions from nsIContent to Element; r=mounir sr=bz 2012-04-14 15:09:19 +02:00
Ms2ger
f58f1b50e0 Bug 742837 - Remove dead code and cleanup around nsDOMScriptObjectFactory; r=bz 2012-04-14 15:03:16 +02:00
Ms2ger
2523b4992f Bug 688415 - Outparamdel nsDocument::GetRadioGroup; r=volkmar 2012-04-14 14:57:06 +02:00
Aryeh Gregor
85ddf715d5 Bug 433662 part 2 - Make Range.insertNode insert the node into the range even when the range is collapsed 2012-04-01 08:02:21 -04:00
Aryeh Gregor
29b0885276 Bug 433662 part 1 - Clean up nsRange::InsertNode; r=smaug 2012-04-01 07:50:31 -04:00
Jonathan Kew
35954608dd bug 307039 - implement Greek-specific uppercasing for text-transform & small-caps. r=past 2012-05-03 08:57:18 +01:00
Mark Capella
2577075a7a Bug 744332 - Remove nsXULPrototypeScript::ScriptObjectHolder::mLangID. r=jst, f=Ms2ger 2012-04-24 18:31:28 -04:00
Josh Aas
bda34ee875 Bug 745842: Clean up plugin stream listener creation. r=jst 2012-04-24 16:25:21 -04:00
Simon Montagu
c2722c9ee2 bug 738101 - Use the new mozilla::unicode::GetIdentifierModification instead of the old ccmap in IsDefaultIgnorable. This is the last client for precompiled ccmaps, so remove the infrastructure for them at the same time. r=jfkthame 2012-04-18 21:54:54 -07:00
L. David Baron
50cc90de6a Remove unneeded getting of window and DOMWindowUtils so that GetViewportInfo can still return correct information while page is displayed during navigation away from it. (Bug 737621) r=sjohnson 2012-04-25 16:33:42 -07:00
Jonathan Watt
72b161fc90 Bug 745352 - Remove broken include paths from content Makefile.in files. r=dholbert. 2012-01-19 15:36:53 +00:00
Masatoshi Kimura
3e4da21b72 Bug 743575 - Try to get line number if at all possible when reporting warnings to the error console. r=mrbkap 2012-04-13 13:57:05 -04:00
Jeff Walden
827586c908 Bug 714260 - Implement FloatingPoint.h to consolidate all IEEE-754 floating point operations in a single location. r=dmandelin for the js bits, r=Ms2ger for mfbt and the core bits 2012-01-23 03:43:16 -08:00
Gregory Szorc
24ce7aadaf Merge mozilla-central into inbound 2012-04-11 18:51:10 -07:00
Olli Pettay
9e236a1d43 Bug 742482 - Add support for MutationObserver.takeRecords(), r=sicking 2012-04-11 08:24:18 +03:00
Ehsan Akhgari
124ba412da Merge the latest green changeset from mozilla-inbound into mozilla-central 2012-04-10 16:00:30 -04:00
Olli Pettay
5c8241cc42 Bug 742636 - Keep observed node alive during microtask if there are transient observers, r=sicking 2012-04-10 22:01:14 +03:00
Daniel Holbert
0c83157d0b Bug 742565: Cast known-to-be-nonnegative integer val to unsigned, to fix build warnings in nsRange.cpp. r=smaug 2012-04-10 00:45:59 -07:00
Masatoshi Kimura
a4f7f9bacb Bug 743574 - Deprecate DOMException.code. r=sicking 2012-04-11 17:55:23 -04:00
Masatoshi Kimura
f09712023c Bug 743049 - Part 2: Use the new API from NS_ScriptErrorReporter to get an error type name. r=jst 2012-04-11 17:55:22 -04:00
Masatoshi Kimura
0cd58c8a6f Bug 730161 - Replace IDBDatabaseException and FileException with DOMException. r=sicking 2012-04-11 17:55:21 -04:00
David Humphrey (:humph)
5f9892f336 Bug 633602 - Implement Pointer Lock (Mouse Lock) API. r=roc,smaug 2012-04-11 17:55:21 -04:00
Kyle Huey
b9156a7e34 Back out Bug 679230 due to Android reftest failures. 2012-04-07 10:36:49 -07:00
Kyle Huey
cf183bc381 Bug 697230: Part 3 - Make style images block onload. r=bz 2012-04-07 09:00:27 -07:00
Kyle Huey
0826c61887 Bug 697230: Part 2 - Push onload blocking logic down into imagelib. r=joe sr=bz 2012-04-07 09:00:04 -07:00
Kyle Huey
803a05ad74 Bug 697230: Part 1 - Centralize style image observers. r=bz 2012-04-07 08:58:41 -07:00
Olli Pettay
adf238dbcd Bug 743199 - Unmark Document's and Window's ELM, r=mccr8 2012-04-07 10:12:03 +03:00
Jacek Caban
ee4314411f Bug 742357 - Use macros to declare nsIMutationObserver functions in nsMutationReceiver r=smaug 2012-04-06 11:12:59 +02:00
Boris Zbarsky
a25922d009 Bug 742549. Add a .crossOrigin IDL property. r=sicking
Note that the content attribute is crossorigin (lowercase) in SVG, hence the need to have different
content and IDL property names in the test.
2012-04-05 22:24:42 -04:00
Ehsan Akhgari
ac25c078a1 Merge mozilla-inbound and mozilla-central 2012-04-05 13:41:51 -04:00
Ehsan Akhgari
47a6da0be5 Merge the last green PGO changeset from mozilla-inbound to mozilla-central 2012-04-05 13:40:53 -04:00
Boris Zbarsky
0fca9692ed Bug 742030. When cloning nodes with inline style, preserve the inline style string. r=sicking 2012-04-05 13:14:54 -04:00
Alexander Surkov
ed8cc5eef3 Bug 741398 - make ARIA state map extensible, r=tbsaunde 2012-04-06 01:23:30 +09:00
Olli Pettay
6389f9e1df Bug 742371 - Remove MutationReceiver from MutationObserver when the target is deleted, r=sicking 2012-04-04 20:36:40 +03:00
Olli Pettay
531fa1528f Bug 742237, MutationObserver crashes during GC, r=sicking 2012-04-04 18:11:57 +03:00
Marco Bonardo
047806e61c Merge last green PGO from inbound to central 2012-04-04 13:36:36 +02:00
Olli Pettay
14fb10f69b Bug 742183 - Handle MicroTasks correctly with showModalDialog, r=sicking 2012-04-04 09:23:45 +03:00
Olli Pettay
f1280145fd Bug 742190 - Leak with MozMutationObserver, r=sicking 2012-04-04 09:22:16 +03:00
Marco Bonardo
9da76e99e1 Merge central and inbound 2012-04-03 14:36:57 +02:00
Ms2ger
cb0ed3c5ae Bug 738760 - Move nsContentUtils::GetContextAndScope into nsDocument.cpp; r=sicking 2012-04-03 09:25:39 +02:00
Ms2ger
c7002d2259 Bug 737122 - Attr nodes shouldn't have children; r=sicking 2012-04-03 09:25:39 +02:00
Ms2ger
1620e930e4 Bug 738759 - Add nsContentUtils::CheckSameOrigin overload taking two nsINodes; r=jst 2012-04-03 09:25:38 +02:00
Ms2ger
ca0ad89f4e Bug 741223 - MutationObserver cleanup; r=smaug 2012-04-03 09:25:38 +02:00
Henri Sivonen
2289542980 Bug 739537 - No longer drop leading space from the plain text clipboard flavor when exporting both HTML and plain text to clipboard. r=smaug. 2012-04-03 09:44:15 +03:00
David Mandelin
c95898dc13 Bug 737780: fix compartments in nsFrameScriptExecutor::LoadFrameScriptInternal, r=luke 2012-04-02 19:09:34 -07:00
Masatoshi Kimura
dbd4f0bed5 Bug 738912 - Part 2: Add tests. r=sicking 2012-04-03 20:08:28 -04:00
Matt Brubeck
6c039eb840 Merge last green changeset from inbound to mozilla-central 2012-04-02 10:41:37 -07:00
Kyle Huey
337468e523 Bug 741163: Add a rather important null check. r=me 2012-04-01 04:02:58 -07:00
Ed Morley
651aa424a1 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-03-31 22:41:59 +01:00
Olli Pettay
f198500ad9 Bug 641821, MutationObserver, r=sicking
--HG--
extra : rebase_source : a680c883b22976edf38eea23fb516215e081084f
2012-03-31 09:30:13 -07:00
Ed Morley
c7a3740e33 Merge mozilla-central to mozilla-inbound 2012-03-31 15:28:55 +01:00
Henri Sivonen
e9bc364a15 Bug 731896 - Export plain text from the DOM selection directly without an intermediate HTML serialization. r=smaug. 2012-03-31 17:10:34 +03:00
Henri Sivonen
990ab1f71d Bug 732343 - Defend HTML document loading against extensions causing bogus use of the old HTML parser. r=smaug. 2012-03-31 17:10:34 +03:00
Ms2ger
cad388b68f Bug 741048: Remove gfxAtoms. r=roc 2012-03-30 23:08:46 -07:00
Dave Townsend
68dc1b47ec Backing out changeset 432c4be058b5 which landed with no bug. 2012-03-30 22:23:24 -07:00
Peter Van der Beken
09128a75d3 Fix for bug 740069 (Generate JS bindings in C++ with a python script for DOM objects on the main thread and in workers. Infrastructure and new bindings for XMLHttpRequest). Patch by bent/bz/bholley/jst/khuey/peterv, r=bent/bz/bholley/jlebar/khuey/peterv/sicking/smaug.
--HG--
rename : js/xpconnect/tests/mochitest/test_bug462428.html => dom/bindings/test/test_lookupGetter.html
2012-03-30 21:42:20 -07:00
Olli Pettay
3fbca0e6db Bug 734151 - remove new lines from the class in the CC log, r=bsmedberg
--HG--
extra : rebase_source : a7d7add386834baaea8769f398431a0c9c4c1a96
2012-03-30 09:38:00 -07:00
Marco Bonardo
d3b8a6debe Merge central to inbound 2012-03-30 12:27:55 +02:00
Ms2ger
09e5acca2c Bug 738761 - Remove nsIScriptTimeoutHandler::GetScriptVersion and pass JSVersion to nsIScriptContext::EvaluateString; r=jst 2012-03-29 23:09:13 +02:00
Ms2ger
a1a7ce8473 Bug 738996 - Remove agnostic Hold/DropScriptObject nsContentUtils functions; r=mrbkap 2012-03-29 23:09:11 +02:00
Ms2ger
1e9b34b2ca Bug 738654 - Part b: RemoveChildAt can't fail; r=sicking 2012-03-29 23:09:07 +02:00
Ms2ger
75fed9765f Bug 738654 - Part a: doRemoveChildAt can't fail; r=sicking 2012-03-29 23:09:06 +02:00
Ms2ger
63c2adf6c9 Bug 738608 - Introduce nsINode::Length(); r=smaug 2012-03-29 23:09:04 +02:00
Ms2ger
0884370d9c No bug - Remove gfxAtoms; r=roc 2012-03-29 23:08:43 +02:00
Jonathan Kew
600c7d5313 bug 740477 - handle Dutch-specific capitalization of the ij digraph. r=smontagu 2012-03-30 17:37:46 -07:00
Peter Van der Beken
e979cdfbe5 Fix for bug 740855 (Make tests that try to get XHR.channel use SpecialPowers). r=bz, bent.
--HG--
extra : rebase_source : 1278ff2158cd8138ebe3570a2d8f45cec8233d1c
2012-03-30 09:38:19 -07:00
Matias Juntunen
42e7c72943 Bug 729048 - Part 2: Replace calls to nsParserService::CheckQName with nsContentUtils::CheckQName in nsDocument.cpp. r=hsivonen 2012-03-29 17:31:40 -04:00
Matias Juntunen
e0fe30d650 Bug 729048 - Part 1: Move nsParserService::CheckQName to nsContentUtils and change calls within nsContentUtils to use nsContentUtils::CheckQName instead. r=hsivonen 2012-03-29 17:31:40 -04:00
Peter Van der Beken
511d03707b Fix for bug 740467 (Make test_XHR_timeout.js use addEventListener(..., obj, ...) instead of on* = obj). r=khuey.
--HG--
extra : rebase_source : e5039bfd291e3955282ff63f3ac5c0ab2869279a
2012-03-29 11:16:31 -07:00
Phil Ringnalda
62e25bcddc Back out b00bf7f3869c (bug 737976) for apparently causing mochitest-1 leaks on a CLOSED TREE 2012-03-28 22:43:09 -07:00
Phil Ringnalda
b4da60b42d Back out 0cb85ff0f764 (bug 738568), 9949bb092303 (bug 730209), 095fd525afa7 (bug 729924), dcf8929a8115 (bug 633602) because of widely scattered and unclear bustage on a CLOSED TREE 2012-03-28 22:37:46 -07:00
Andrew McCreight
d986e69874 Bug 738700 - unmark wrapped gray objects from nsISupports. r=smaug 2012-03-28 21:51:46 -07:00
Mark Capella
5b2f534388 Bug 738380 - Remove nsINode::{GetScriptTypeID, SetScriptTypeID}, nsIScriptContext::GetScriptTypeID, nsIScriptRuntime::GetScriptTypeID; r=jst 2012-04-01 14:47:48 +02:00
Aryeh Gregor
2487a022be Bug 719533 - Range.extractContents() shouldn't modify the DOM if the range contains a doctype; r=smaug 2012-04-01 07:45:35 -04:00
Kyle Huey
5639dfdb41 Bug 737976: Remove nsINodeInfo. rs=bent 2012-03-28 19:07:37 -07:00
David Humphrey
03dc4eeeee Bug 633602 - Implement Pointer Lock (Mouse Lock) API. r=roc, smaug 2012-03-28 21:00:14 -04:00
Nathan Froyd
f951079eae Bug 739962 - fix -Wunused-but-set-variable warnings in content; r=bent 2012-03-28 09:14:33 -04:00
Peter Van der Beken
499b93ca6e Bug 732377. Add the API for the new DOM bindings to XMLHttpRequest. r=bzbarsky 2012-03-26 08:38:06 -07:00
Jared Wein
642a4f48c0 Bug 730318 - Implement a way for chrome js to enumerate the plugin objects on a page for activation. r=khuey 2012-03-28 08:53:56 -07:00
Margaret Leibovic
7509a717ef Bug 739048 - Check to see if a plugin is unsupported before making it click-to-play. r=josh 2012-03-27 15:01:46 -07:00
Henri Sivonen
1e43b151aa Bug 701361 - Add a telemetry probe for finding out how commonly multipart XHR is used on the Web. r=smaug. 2012-03-28 10:33:18 +03:00
Henri Sivonen
96fd999a06 Bug 717180 - Ignore document.write after window.location. r=smaug. 2012-03-28 08:17:53 +03:00
Jared Wein
e34baf2131 Backed out changeset 8e42ba558f07 (bug 730318) CLOSED TREE 2012-03-27 15:23:53 -07:00
Avi Halachmi (:avih)
d705a99716 Bug 737758: part 1: Propagate mouse wheel event origin from ESM [r=roc] 2012-03-26 11:50:30 +02:00
Andrew McCreight
7a9fcf72b7 Bug 740185 - mark safe JS context black. r=smaug 2012-03-30 10:22:29 -07:00
Peter Van der Beken
35470819a6 Backout cfd6bf0fe1e9 as it includes an unwanted chunk
--HG--
extra : rebase_source : 9143a7752d7327a1c7693f9ad34ab02a25339aa6
2012-03-30 09:53:50 -07:00
Peter Van der Beken
e387b7ef6b Fix for bug 740855 (Make tests that try to get XHR.channel use SpecialPowers). r=bz.
--HG--
extra : rebase_source : a80dc66eff61a2d669dbbaaa1d081106798fd9dc
2012-03-30 09:38:19 -07:00
Aryeh Gregor
9bb98b7878 Bug 737087 - Fire error event on <script> load failure per spec/other browsers; r=sicking 2012-03-20 14:21:33 -04:00
Makoto Kato
721f0bcd98 Bug 737966 - Evaluating nsIXMLHttpRequest.responseText throws on certain parsing errors. r=sicking 2012-04-04 20:59:02 +09:00
Marco Bonardo
ee37f02006 Merge central to inbound 2012-04-04 13:39:52 +02:00
Veeraya Pupatwibul
26e9a6a204 Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger 2012-04-04 11:15:10 +02:00
Boris Zbarsky
224115946f Bug 742217. Reduce the use of nested namespaces in our binding code. r=peterv,bent
In the new setup, all per-interface DOM binding files are exported into
mozilla/dom.  General files not specific to an interface are also exported into
mozilla/dom.

In terms of namespaces, most things now live in mozilla::dom.  Each interface
Foo that has generated code has a mozilla::dom::FooBinding namespace for said
generated code (and possibly a mozilla::bindings::FooBinding_workers if there's
separate codegen for workers).

IDL enums are a bit weird: since the name of the enum and the names of its
entries all end up in the same namespace, we still generate a C++ namespace
with the name of the IDL enum type with "Values" appended to it, with a
::valuelist inside for the actual C++ enum.  We then typedef
EnumFooValues::valuelist to EnumFoo.  That makes it a bit more difficult to
refer to the values, but means that values from different enums don't collide
with each other.

The enums with the proto and constructor IDs in them now live under the
mozilla::dom::prototypes and mozilla::dom::constructors namespaces respectively.
Again, this lets us deal sanely with the whole "enum value names are flattened
into the namespace the enum is in" deal.

The main benefit of this setup (and the reason "Binding" got appended to the
per-interface namespaces) is that this way "using mozilla::dom" should Just
Work for consumers and still allow C++ code to sanely use the IDL interface
names for concrete classes, which is fairly desirable.

--HG--
rename : dom/bindings/Utils.cpp => dom/bindings/BindingUtils.cpp
rename : dom/bindings/Utils.h => dom/bindings/BindingUtils.h
2012-05-03 00:35:38 -04:00
Tom Schuster
0fe26d128c Bug 711843 - Update JSAPI for typed arrays, remove uses of jstypedarray.h outside the engine [r=Waldo,bz,Ms2ger,bholley,bjacob,philikon,evilpie,bent,yourmama] [a=mfinkle thanks to gkw] 2012-01-14 09:43:00 -08:00
Jonathan Kew
47286126f0 bug 745780 - update harfbuzz code to upstream commit 3cde23664fbbe9cd2ac1b8fd5eb2ea288309cc9c (2012-04-17). r=jdaggett a=mfinkle 2012-04-21 22:24:39 +01:00
Matt Brubeck
fbe5dd5a57 Bug 743325 - Back out 554ab0a2f470 (bug 734503) because it broke touch events in XUL Fennec [r=peterv] 2012-04-24 07:51:56 -07:00
Jared Wein
5c1c03e064 Bug 730318 - Implement a way for chrome js to enumerate the plugin objects on a page for activation. r=khuey 2012-03-27 13:50:50 -07:00
Andrew McCreight
a2f68f19c5 Bug 736563 - mark global objects held by live windows black during GC. r=smaug 2012-03-27 12:22:10 -07:00
Ian Melven
00527c918a Bug 650386 - CSP should not follow redirects for report-uri r=jst 2012-03-27 10:55:50 -07:00
Justin Lebar
d8d5c35fdb Bug 739457 - Don't decode images when you load a link in a background tab. r=joe 2012-03-26 23:49:50 -07:00
Boris Zbarsky
c146ad9e16 Bug 739004. When cloning a static clone, set the mOriginalDocument of the new clone to the mOriginalDocument of the thing being cloned, not to the thing being cloned (which is not an original document at all). r=smaug 2012-03-24 20:46:03 -04:00
Jonathan Watt
4a32c8a3a9 Bug 738975 - Speed up building of layout/svg/base/src by dropping content/html/content/src from the include path. r=bz. 2012-03-26 12:58:59 +01:00
Jonas Sicking
f6d538bf5d Bug 301705: Don't throw when XMLHttpRequest.status is gotten too early. r=bz 2012-03-26 01:40:09 -07:00
Matt Brubeck
21e24f0ef9 Merge mozilla-central and mozilla-inbound 2012-03-24 09:05:27 -07:00
Henri Sivonen
4e93a91b3a Bug 672453 - Whine to console about various character encoding declaration-related authoring errors. r=smaug.
--HG--
rename : extensions/universalchardet/tests/bug631751be_text.html => parser/htmlparser/tests/mochitest/file_bug672453_bomless_utf16.html
2012-03-24 13:34:42 +02:00
Masatoshi Kimura
db93a05ce9 Bug 736686 - Part 2: Implement Blob constructor in Worker. r=jonas, bent 2012-03-24 12:33:59 +01:00
Peter Van der Beken
4c5904d14e Bug 738593 - Rename IsProxy to IsDOMBinding; r=mrbkap 2012-03-16 16:44:09 +01:00
Jared Wein
4920fd9f8d Backed out changeset 5f79a3dd45ff (bug 730318) r=bustage 2012-03-23 11:46:12 -07:00
Jared Wein
f8f1ab78c2 Backed out changeset 29a7f9d3d4c4 (bug 730318) r=bustage 2012-03-23 11:45:27 -07:00
Patrick McManus
15a48d8534 bug 599164 pipeline with type and state r=honzab 2012-03-22 19:39:31 -04:00
Jared Wein
443e237020 Bug 730318 - Forgot to add braces to if condition. r=khuey 2012-03-22 14:03:04 -07:00
Jared Wein
589f9135f9 Bug 730318 - Implement a way for chrome js to enumerate the plugin objects on a page for activation. r=khuey 2012-03-22 13:53:59 -07:00
Aryeh Gregor
6f53ae344d Bug 366944 - Range.surroundContents should throw InvalidNodeTypeError early; r=smaug 2012-03-21 14:06:50 -04:00
Andrew McCreight
d45c3cf020 Bug 736459 - make WantAllTraces disable node and content list CC optimizations. r=smaug
* * *
Bug 736459, part 2 - add NS_LIKELY for new branches. r=smaug
2012-03-22 08:37:54 -07:00
Henri Sivonen
3dfb9fb844 Bug 737417 part 1 - Split charset source constants out of nsIParser.h. r=smaug. 2012-03-22 16:42:42 +02:00
Jim Mathies
b3261a33f5 Bug 737983 - win8 fixup for generic keyword collision, r=smaug. 2012-03-22 09:18:41 -05:00
Boris Zbarsky
a28dd19efa Bug 738108. When restricting to the element subtree in querySelector(All), make sure to disallow the element itself. r=smaug 2012-03-22 03:09:18 -04:00
Boris Zbarsky
c7ada79040 Bug 700981 part 5. Reduce the amount of time spent calling GetBindingParent(). r=smaug 2012-03-22 00:10:51 -04:00
Boris Zbarsky
18a69aa2ec Bug 700981 part 4. Add a fast-path to IsAllowedAsChild for the case of a child that has no kids. r=smaug 2012-03-22 00:10:51 -04:00
Boris Zbarsky
c353384b08 Bug 700981 part 3. Inline nsNodeUtils::ParentChainChanged. r=smaug 2012-03-22 00:10:51 -04:00
Boris Zbarsky
0993b53f4e Bug 700981 part 2. Get rid of nsStyledElement::BindToTree/UnbindFromTree. r=smaug 2012-03-22 00:10:51 -04:00
Boris Zbarsky
d787c15480 Bug 700981 part 1. Get rid of nsMappedAttributeElement::BindToTree and inline some of the things it used to call so they're faster. r=sicking 2012-03-22 00:10:51 -04:00
Andrew McCreight
7f485cedb8 Backout ca353538c7f9 (bug 736459) for Linux64 Dromaeo regressions 2012-03-21 19:36:25 -07:00
Sid Stamm
f0191803f3 Bug 672961 - CSP blocks domains incorrectly when on a site with non-standard port. r=mrbkap 2012-03-21 19:52:24 -04:00
Andrew McCreight
a3baa29a56 Bug 736459 - do WantAllTraces for nodes and base lists. r=smaug 2012-03-21 15:38:58 -07:00
Daniel Holbert
82f039d3bc Bug 737754: Change guaranteed-to-succeed IndexOf() checks to Contains() checks in assertions within nsScriptLoader::PrepareLoadedRequest. r=hsivonen 2012-03-21 14:06:10 -07:00
Hessam Salehi
7d69570885 Bug 474505 - Replace uses of nsVoidPtrHashkey with nsPtrHashKey<T>; r=bsmedberg 2012-03-21 14:07:31 -04:00
Aryeh Gregor
94d5ff735b Bug 735805 part 1 - Fix DOM and layout mochitests that run no tests; r=bz 2012-03-16 16:07:09 -04:00
Aryeh Gregor
7da09c4a2f Bug 737612 - Range.insertNode() on a detached text node should throw standard exception type; r=smaug 2012-03-20 16:32:01 -04:00
Aryeh Gregor
3153795fe4 Bug 737565 - Range.comparePoint() should throw exceptions per spec; r=smaug 2012-03-20 15:54:38 -04:00
Henri Sivonen
e6b835a223 Bug 650776 part 3 - Remove mozSanitizingSerializer from mozilla-central. r=jst. 2012-03-21 12:43:54 +02:00
Matt Brubeck
b1e708752d Back out 1bbe7ea3a01e through 672cc4ee2dd9 because of mochitest-browser-chrome leaks 2012-03-20 12:53:10 -07:00
Mats Palmgren
0a71b21519 Bug 732951 - Make nsContentUtils::ASCIIToLower/ASCIIToUpper return NS_ERROR_OUT_OF_MEMORY when string allocation fails. r=bz 2012-03-20 19:02:38 +01:00
Patrick McManus
85224929d2 bug 599164 pipeline with type and state r=honzab
--HG--
extra : rebase_source : b060665a1726eab3e3ef0ab0d94c34cfea5c1460
2012-03-20 13:11:32 -04:00
Neil Deakin
6c9d8bc0e7 Bug 605991, prevent drops on a parent content page from a child frame from a different domain, r=smaug 2012-03-20 11:21:41 -04:00
Henri Sivonen
358f67f435 Bug 737314 - Avoid using nsIURI when checking for cid: URIs in order to route around comm-central cid: hacks. r=smaug. 2012-03-20 11:25:43 +02:00
Adam Dane [:hobophobe]
3c986b3780 Bug 720126 - Update scroll API to use ScrollAxis parameters (where and when). r=roc 2012-03-19 21:09:50 -05:00
Diogo Golovanevsky Monteiro
5b721c04cf Bug 735031 - Make Fullscreen API work with DOMElements rather than only HTML Elements. r=cpearce,smaug 2012-03-24 17:37:04 +13:00
Mark Hammond
3dcf4bd358 Bug 738535 - JS_WrapValue the FileReader's array buffer result. r=khuey 2012-03-24 11:04:55 +11:00
Jared Wein
30d9fd445e Backed out changeset 5f79a3dd45ff (bug 730318) r=bustage 2012-03-23 11:11:31 -07:00
Jared Wein
ff6972e59a Backed out changeset 29a7f9d3d4c4 (bug 730318) r=bustage 2012-03-23 11:11:14 -07:00
Mark Capella
08d7239a5d Bug 734023 - Remove language arguments from nsIScriptGlobalObject methods, r=jst, f=ms2ger 2012-03-23 18:13:29 +01:00
Josh Aas
1e7b21b1e2 Bug 726734: Reload plugin instances when the src/data URL changes. r=jst 2012-03-23 08:33:15 -04:00
aceman
7437e55c64 Bug 737149 - Fix build of nsTreeSanitizer.cpp (error: 'video' is not a member of 'nsGkAtoms') with undefined MOZ_MEDIA. r=bzbarsky 2012-03-19 18:52:08 -04:00
Boris Zbarsky
98a2048efb Bug 721659. Update the width/height of an image synchronously when src is set to something that was preloaded. r=bholley 2012-03-19 18:22:02 -04:00
Dão Gottwald
5491bf2ad2 merge backout 2012-03-19 12:54:47 +01:00
Dão Gottwald
6a83ce299e Backed out changeset 2cd01fd07ce8 2012-03-19 12:54:32 +01:00
Masatoshi Kimura
8d714490ee Bug 736687 - Warn on use of MozBlobBuilder. r=sicking
--HG--
rename : layout/reftests/svg/as-image/img-blobBuilder-1.html => layout/reftests/svg/as-image/img-blobURI-1.html
rename : layout/reftests/svg/as-image/img-blobBuilder-2.html => layout/reftests/svg/as-image/img-blobURI-2.html
2012-03-19 12:00:43 +01:00
Adam Dane [:hobophobe]
1157561543 Bug 720126 - Update scroll API to use ScrollAxis parameters (where and when). r=roc 2012-03-18 14:42:25 -05:00
Henri Sivonen
0be2d2f91c Bug 650776 part 1 - Introduce a new HTML source to HTML source sanitizer XPCOM API. r=smaug. 2012-03-19 10:16:20 +02:00
Masatoshi Kimura
56220624ec Bug 736804 - Bump iid of MozBlobBuilder. r=smaug 2012-03-18 15:49:45 +01:00
Andrew McCreight
a8485fd9e9 Bug 735342 - CanSkip for unoptimizable nodes held by binding manager. r=smaug 2012-03-18 07:17:05 -07:00
aceman
a2fc540279 Bug 736660 - fix compilation: 'source' is not a member of 'nsGkAtoms', if MOZ_MEDIA is not set. r=bz 2012-03-17 20:38:35 +01:00
Daniel Holbert
c5fe59c3a7 Bug 730587 followup: Make nsINode::OwnerDocAsNode() non-inline to prevent "inline function ... used but never defined" build warnings. rs=khuey 2012-03-16 15:16:41 -07:00
Peter Van der Beken
299c3b3d05 Fix for bug 736229 (Stop storing expando objects in the wrapper cache, store the proxy instead). r=jst. 2012-03-14 15:22:10 +01:00
Marco Bonardo
312ed3ed80 Merge inbound and central 2012-03-16 13:42:16 +01:00
Ed Morley
b4dda70351 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-03-15 12:42:01 +00:00
Kyle Huey
e8ed17fbad Bug 730587: Stash a pointer to the subtree root on DOM nodes. r=smaug, sr=jst 2012-03-14 13:14:02 -07:00
Nathan Froyd
59ce138419 Bug 732167 - Eliminate duplicate headers in content. r=mounir 2012-03-06 13:55:37 -05:00
Charles Chan
601565db8b Bug 729049 - Inline IsXMLLetter, IsXMLNCNameChar, DecodeEntity from nsIParserService. r=hsivonen 2012-03-14 21:56:58 -07:00
Kyle Huey
6c62ce3350 Bug 735152: Disable the offending tests. r=me 2012-03-13 07:34:39 -07:00
Marco Bonardo
80af6e193a Merge last green PGO from inbound to central 2012-03-13 11:17:21 +01:00
Masatoshi Kimura
db7570958a Bug 721569 - Tests. r=sicking
--HG--
rename : content/base/test/test_blobbuilder.html => content/base/test/test_blobconstructor.html
2012-03-12 21:45:00 -07:00
Masatoshi Kimura
d1e291fd89 Bug 721569 - Implement Blob constructor. r=sicking 2012-03-12 21:44:56 -07:00
Boris Zbarsky
09fd9002b2 Bug 732667. Only do checks for :hover selectors when hover state changes on nodes which have relevant hover rules. r=dbaron 2012-03-12 22:54:15 -05:00
Phil Ringnalda
47dd3c842e Back out 83a33626d965:6e9330f5a9bd (bug 732667 and bug 705877) for Windows build bustage 2012-03-12 22:12:41 -07:00
Boris Zbarsky
82ab90bd3f Bug 732667. Only do checks for :hover selectors when hover state changes on nodes which have relevant hover rules. r=dbaron 2012-03-12 22:54:15 -05:00
Olli Pettay
91a34ecfd4 Bug 734057 - Make nsDOMEventTargetHelper to not have strong pointer to window, part2, r=jst 2012-03-13 02:56:20 +02:00
Olli Pettay
c58d4cc1b2 Bug 734057 - Make nsDOMEventTargetHelper to not have strong pointer to window, r=jst,bent 2012-03-13 02:56:07 +02:00
Avi Halachmi
569c1017ce Bug 206438 - Smooth scrolling should use the 'smoothwheel' algorithm. r=roc ui-r=limi 2012-03-11 13:55:00 -07:00
Kyle Huey
2ce2d42468 Bug 498998: Implement XHR timeout in Workers. r=sicking 2012-03-12 17:00:46 -07:00
Justin Lebar
064e2cf3f9 Bug 729940 - Part 2: Stop using crappy hash functions in Gecko. r=bz
--HG--
extra : rebase_source : 6fa267a89878cc1a766d8618569debcea9b12e48
2012-03-12 18:53:18 -04:00
David Anderson
47563b2221 Remove JS_GetScriptedCaller (bug 732652, r=luke,mrbkap,bholley,smaug,bent). 2012-03-06 15:33:12 -08:00
Blake Kaplan
2c581e8da4 Bug 727884 - Make nsWrapperCache::WrapObject take a JSObject scope instead of XPCWrappedNativeScope. r=peterv 2012-03-14 16:25:40 +01:00
Jonathan Kew
fc884ec915 bug 731536 - text-transform:capitalize should affect the first alphanumeric char in a word, not the first non-punctuation char. r=smontagu 2012-03-14 06:47:14 +00:00
Benjamin Smedberg
f574759569 Bug 729009 - Send the embedded document (SWF file) as the referer for plugin-initiated streams, r=josh 2012-03-12 12:48:27 -04:00
Peter Van der Beken
c58bd05f01 Fix for bug 734505 (Add new DOM binding for FileList). r=jst.
--HG--
extra : rebase_source : 7a563b1af70c24f9117b813016b7a37612e92431
2011-08-22 11:14:13 +02:00
Peter Van der Beken
24c158b037 Fix for bug 734503 (Add new DOM binding for TouchList). r=jst.
--HG--
extra : rebase_source : 701eb8d9a60ffa981ebcd24f426109bd70cc5cbf
2011-08-22 11:14:13 +02:00
Peter Van der Beken
b0f18cd351 Fix for new bug 734497 (Add new DOM binding for ClientRectList). r=jst.
--HG--
extra : rebase_source : 1cc96b94d21940ac1ed75ec6d46d9c2964fc54a0
2011-08-22 11:14:13 +02:00
Daniel Holbert
8b79621c1a merge m-c tip over to m-i 2012-03-11 15:40:05 -07:00
Ms2ger
4d950a4670 Bug 649599 - Make getAttributeNS return null for absent attributes; r=peterv 2012-03-11 09:48:16 +01:00
Ms2ger
5ebe629da9 Bug 732769 - Remove FileError; r=sicking 2012-03-11 09:47:38 +01:00
Igor Bukanov
f0bddf0e88 bug 728250 - remove JSPrincipals::codebase. r=:luke,:bz
In just 2 cases where JSPrincipals::codebase is used it can be reconstructed from the values stored in the associated nsJSPrincipal. In addition the patch makes nsJSprincipals to inherit both from nsIPrincipal and JSPrincipals allowing to use static_cast to convert between nsIPrincipal and JSPrincipals pointers and to drop many cases of manual JSPrincipal reference counting.
2012-03-09 10:48:50 +01:00
Boris Zbarsky
15e86e520e Bug 696301 part 4. Actually hook up a CORS listener on script loads as needed. r=sicking
--HG--
rename : content/base/test/bug461735-post-redirect.js => content/base/test/bug696301-script-1.js
rename : content/base/test/bug461735-post-redirect.js => content/base/test/bug696301-script-2.js
2012-03-10 10:13:52 -06:00
Boris Zbarsky
c8484ac3e7 Bug 696301 part 3. Propagate the CORS mode to the script loader correctly; make sure the CORS mode of script preloads matches the actual load. r=sicking 2012-03-10 10:13:52 -06:00
Boris Zbarsky
6857670c0e Bug 696301 part 2. Communicate the crossorigin preload state from the parser to the scriptloader. r=sicking,hsivonen 2012-03-10 10:13:52 -06:00
Boris Zbarsky
0d8f6a7de7 Bug 696301 part 1. Refactor CORS attribute handling a bit. r=sicking 2012-03-10 10:13:51 -06:00
Alexander Surkov
1d72bddcad Bug 523304 - expose text-underline-color and text-line-through-color text attributes, r=tbsaunde 2012-03-11 00:35:02 +09:00
Justin Lebar
8b498ced2e Bug 731419 - Part 2: Discard image data immediately on tab close, DOM changes. r=bz
--HG--
extra : rebase_source : e854e29c89b88f664d129303dab22de92c413afc
2012-03-10 01:29:28 -05:00
Emanuel Hoogeveen
6abde81520 Bug 492931 - Fix case conversion in a bunch of DOM functions to only convert ASCII characters. r=sicking,khuey 2012-03-09 21:50:34 -08:00