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

1255 Коммитов

Автор SHA1 Сообщение Дата
Tanvi Vyas 0dd607b43f Bug 62178 - Mochitest - iframe, stylesheet, object, script, image, media, xhr r=smaug 2012-09-16 13:13:25 -07:00
Phil Ringnalda 6881ce7451 Backout 38052fd23aec, 910406b62ebc, 7b15c079564c, d7c1d26f8bc9 (bug 716575) for probable reftest and certain talos bustage on Android 2012-09-10 20:57:31 -07:00
Matt Brubeck 4546dcff03 Bug 716575 (4/4) - Tests for GetViewportInfo [r=dbaron] 2012-09-10 18:53:24 -07:00
Lucas Adamski 97fc8f26e1 Bug 634778 - Warn and skip when duplicate CSP directives are detected. (r=geekboy) 2012-09-19 13:41:38 -07:00
Boris Zbarsky 7d8cd87902 Bug 788369 followup. Fix test to reflect the new world. r=bustage 2012-09-07 12:11:04 -04:00
Boris Zbarsky 2295217399 Bug 780529. Make people poking XHR via random XPCOM interfaces actually work as long as they stick to GetInterface. r=peterv 2012-09-07 10:51:35 -04:00
John Schoenick 3a1354f5ba Backout a6f040934c99 (Bug 548133) for reftest orange 2012-09-05 14:58:17 -07:00
John Schoenick 0cb7e069a2 Bug 548133 - Remove special handling for object 'pluginurl' param. r=dolske,josh 2012-09-05 14:02:06 -07:00
Randell Jesup 65539ef89c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Abhishek Potnis 3602593722 Bug 785319 - Don't throw when setting WebSocket.binaryType to an invalid value; f=Ms2ger r=smaug
--HG--
extra : rebase_source : 2153ba6ecd98583e09c83208949e5f78042c0e37
2012-08-25 16:57:59 +05:30
Jonas Sicking af7a42b5bb Bug 689328: Try to fix intermittent orange in test_xhr_progressevent.html by waiting until "close" requests finish before starting next request. r=khuey 2012-08-31 18:34:33 -03:00
Kyle Huey 3b42fbfcd1 Bug 687332: Part 2 - Move event handlers off of DOM objects and keep track of them solely in the event listener manager. r=smaug,bz 2012-08-30 20:45:16 -07:00
Olli Pettay 2b0940bb2d Bug 784259 - nsDOMMutationObserver should inherit nsWrapperCache, r=peterv 2012-08-28 18:25:19 +03:00
Andrea Marchesini 611da6048d Bug 782342 - blob: protocol no Content-Length header. r=sicking 2012-08-27 19:34:29 -04:00
Phil Ames e5febe6eca Bug 690168. Implement the 'Allow-From' directive for X-Frame-Options. r=bzbarsky 2012-08-27 15:46:24 -04:00
Marshall Moutenot eb3d6bdd0a Bug 784315 - fix CSP parser to handle single-token hosts via regex correctly. r=geekboy 2012-08-27 08:51:02 -07:00
Philipp von Weitershausen d158b5747c Bug 776825 - Separate message managers into senders and broadcasters. r=smaug
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-27 11:13:02 -03:00
Bobby Holley f978d43865 Bug 784560 - Fix more tests. r=mccr8 2012-08-23 11:45:28 -07:00
Ehsan Akhgari e368dc9c85 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Gregor Wagner 263262ca30 Bug 781331 - Hook up systemXHR to permissions manager. r=sicking 2012-08-17 17:42:00 -07:00
Sid Stamm 6eb663b236 Bug 783497 - Fix CSPSource expression intersection to resolve "self" data. (r=jst) 2012-08-17 15:03:24 -07:00
Marshall Moutenot d153375b82 Bug 737064 - sync CSP source-expression parsing with w3c spec (r=geekboy)
--HG--
extra : rebase_source : 895ec1b90e688f14e5c19af1411c4b2631cbc818
2012-08-16 11:02:17 -07:00
Ed Morley 31a0f2b067 Merge mozilla-central to mozilla-inbound 2012-08-15 19:00:48 +01:00
Gregor Wagner 4b599bd464 Bug 781355 - Hook up mozBrowser to Permission Manager. r=jlebar 2012-08-15 10:22:30 -07:00
Ed Morley d2370e45d2 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-15 16:17:53 +01:00
Olli Pettay 76fa88f9b3 Bug 780199 - better mutationobserver handling when attribute value doesn't change, r=sicking 2012-08-15 13:06:01 +03:00
Mark Capella 19d06abdb4 Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Misc Folders, r=ted
Content, DOM, Image, JS, RDF, and URILoader folders
2012-08-14 10:06:17 -04:00
Bobby Holley fbf25c8433 Bug 781521 - Fix Message Manager blob test. r=Ms2ger 2012-08-14 20:54:33 -07:00
Alexandre D'Eschambeault 30b3e8f1be Bug 751452 - Prevent DNT modification in unprivileged mode + test case. r=khuey 2012-08-13 22:47:19 -04:00
Simon Montagu 4c11a01f44 Tests for dir(ltr/rtl) CSS selector. bug 562169, r=bz 2012-04-17 07:01:29 +03:00
Bobby Holley 1895527d8c Bug 778420 - Fix up tests that don't like the new enablePrivilege. r=jmaher
--HG--
extra : rebase_source : 1158df4a4eb917074204e649efd8f2b8e699f115
2012-08-03 22:19:54 +02:00
William Chen 607a319d22 Bug 778420 - Initial stab at the tests. v2 r=bholley
--HG--
extra : rebase_source : c24abc031c82a87f2f669e4b708f8ee364a9682b
2012-08-06 22:15:49 +02:00
Gijs Kruitbosch e8246137d3 Bug 778420 - Fix test_bug372964. r=bholley
--HG--
extra : rebase_source : 7d87cacdf187e743f40b6d56741e7d71101b58ec
2012-08-03 22:19:54 +02:00
Matt Brubeck 3cfaa1db23 Back out bug 562169 because of Dromaeo DOM regressions
Backed out changeset 841cd6e1e585 (bug 562169)
Backed out changeset e226e413dd27 (bug 562169)
Backed out changeset 9c24b7287c5b (bug 562169)
2012-08-08 08:14:48 -07:00
Simon Montagu 95ec692466 Tests for dir(ltr/rtl) CSS selector. bug 562169, r=bz 2012-04-17 07:01:29 +03:00
Mike Hommey 70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ben Turner 4893263a15 Bug 759427 - 'Multiprocess blob support for MessageManager and IndexedDB'. r=smaug+janv+khuey (rs=sicking for nsBlobURI changes).
--HG--
extra : transplant_source : %95%B5y%11%C5%AB%D9%CF%FF%7C%5E%BB%E5%DA%F5j%83o%29%EB
2012-08-01 23:02:29 -07:00
Ehsan Akhgari 3ad40dbf10 Merge the nullptr conversion from mozilla-central into mozilla-inbound 2012-07-30 10:28:15 -04:00
Aryeh Gregor d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Masatoshi Kimura 412f59d922 Bug 750241 - Filter console messages to prevent intermittent orange; r=hsivonen 2012-07-30 12:47:19 +01:00
Mark Capella 30621de994 Bug 730925 - XHR.getAllResponseHeaders should use CRLF, not LF per spec, r=jst, r=jonas, f=ms2ger 2012-07-26 11:55:23 -04:00
Patrick McManus 956d2285f0 bug 767005 backout bug 235853 r=jduell
--HG--
extra : rebase_source : c5aee6699ad20b85c11d52ca70365d6adebaec7c
2012-07-24 22:40:34 -04:00
Boris Zbarsky 28e194f0fa Bug 761278. Remove the non-standard uploadprogress event on XMLHttpRequest. r=sicking 2012-07-21 22:28:26 -04:00
Jason Duell 380d2ba82c Backout f142f32a98a3 (Bug 775317) and ef14686c31d0 (Bug 761278). r=bustage 2012-07-21 20:05:37 -07:00
Boris Zbarsky cb41ce90ee Bug 761278. Remove the non-standard uploadprogress event on XMLHttpRequest. r=sicking 2012-07-21 22:28:26 -04:00
Ryan VanderMeulen 08e61393ae Merge the last PGO-green inbound changeset to m-c. 2012-07-10 18:39:12 -04:00
Daniel Veditz 97e6b31551 bug 767778 bring report struct in-line w/1.0 spec; include original URI for redirects r=sstamm, a=akeybl 2012-07-10 00:44:05 -07:00
Ed Morley 332711f5bc Backout 1cefe3f794ba (bug 767778) for xpcshell failures 2012-07-10 12:13:57 +01:00
Daniel Veditz b90bac7d50 bug 767778 bring report struct in-line w/1.0 spec; include original URI for redirects r=sstamm, a=akeybl 2012-07-10 00:44:05 -07:00
Nathan Froyd bfff055672 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Jason Duell e15378d43f Bug 752780 - Convert invalid UTF-16 to UTF-8 in websocket send(). r=sicking 2012-07-09 17:31:01 -07:00
David Zbarsky d2ee12f6f9 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Masatoshi Kimura 6df33172c8 Bug 769119 - Treat null or undefined as an empty dictionary; r=sicking 2012-06-30 16:03:27 +02:00
Ehsan Akhgari f4b598bf08 Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
This patch does the following:

* It adds nsITransferable::Init(nsILoadContext*).  The load context
  might be null, which means that the transferable is non-private, but
  if it's non-null, we extract the boolean value for the privacy mode
  and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
  called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
  represent the document that the string is coming from.
  nsIClipboardHelper implementation internally gets the nsILoadContext
  from that and passes it on to the transferable upon creation.  The
  reason that I did this was that nsIClipboardHelper is supposed to be a
  high-level helper, and in most of its call sites, we have easy access
  to a document object.
* It modifies all of the call sites of the above interfaces according to
  this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
  the call sites.
2012-04-16 22:14:01 -04:00
Boris Zbarsky 4214241dca Bug 766798. Throw SYNTAX_ERR, not NAMESPACE_ERR, from querySelector(All) on unknown namespaces. r=dbaron 2012-06-22 16:18:50 -04:00
Kartikaya Gupta e3e8c3d4e0 Bug 755971 - Switch to using the padding rect size for scrollWidth and scrollHeight, and update tests to continue passing. r=bz, gavin 2012-06-21 09:36:57 -04:00
Ed Morley 648eed5d6e Merge mozilla-central to mozilla-inbound 2012-06-21 08:38:39 +01:00
Ms2ger df1c452d41 Bug 765468 - Use a dictionary for the argument to the XMLHttpRequest constructor; r=bz 2012-06-21 09:21:55 +02:00
Bobby Holley 8d72bf921c Bug 765168 - Remove js context parameter from XHR.send call chain. r=smaug 2012-06-20 12:18:39 +02:00
Aryeh Gregor 0f3b06c528 Followup bug 412257 - Fix now-incorrect test description; r=Ms2ger 2012-06-17 12:35:42 +03:00
Aryeh Gregor 836e30efb0 Bug 412257 - Allow createComment("--"); r=bz 2012-06-15 15:13:14 +03:00
Sid Stamm cd3a73b307 bug 761655 - Support for multiple X-Frame-Options policies (multiple headers or comma in header value). r=jst 2012-06-11 09:17:35 -07:00
Olli Pettay be6c155114 Bug 756277 - XMLHttpRequest started from Cc['@mozilla.org/xmlextras/xmlhttprequest;1'] ends up bound to some random window, r=bz
--HG--
extra : rebase_source : 480dbf41846fee3362697cb0bf537281f35845e0
2012-06-08 23:45:13 +03:00
Brian Hackett 1e008ea514 Remove race condition from test for bug 518104, bug 761872. r=bz 2012-06-07 14:56:29 -07:00
Philipp von Weitershausen 79d98e1dd2 Bug 692677 - Relax same-origin XHR restrictions for privileged applications. r=sicking
--HG--
extra : rebase_source : 9e8e8cf2e03b6f3d148503d92630ee898bf835bb
2012-06-07 11:28:33 -07:00
Ms2ger c334a5d8c5 Bug 761120 - Disallow inserting a text node as child of a document; r=bz 2012-06-06 09:42:06 +02:00
Peter Van der Beken 48970d949a Fix for bug 743666 (Add back deprecated XHR.onuploadprogress). r=bzbarsky 2012-06-04 21:29:56 -04:00
Jason Duell 7bd3d2eeae Bug 695636 - Update close steps to adhere to WS spec. r=smaug 2012-06-04 16:38:32 -07:00
Sid Stamm d95080757d Bug 634773 - fix CSPSourceList.equals so 'none' and * are not equal. r=jst 2012-05-23 16:35:37 -07:00
Mats Palmgren 6a2fcb969f Bug 759789 - Don't move on to the next test (or finishing) until we get all expected non-optional 'loadend' events. r=smaug 2012-06-01 20:52:37 +02:00
Mats Palmgren c88189b994 Bug 759757 - Make sure SimpleTest.finish runs after the last test is finished. r=philor 2012-06-01 20:52:37 +02:00
Olli Pettay cf1b7d557b Bug 744830 - Implement fast serializer for innerHTML/outerHTML, p=jdm+smaug, r=hsivonen 2012-06-01 12:59:16 +03:00
Gervase Markham 68d38d677f Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Olli Pettay 66c92d82af Bug 758401 - Add a way to get message manager from docshell, r=jst 2012-05-28 12:27:25 +03:00
Kyle Huey 1a61e70130 Bug 757284: Restore Blob.mozSlice, with a deprecation warning. r=sicking 2012-05-25 11:44:38 -07:00
Ed Morley 3018aec902 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-05-24 15:48:20 +01:00
Olli Pettay 4acdd1080b Bug 757700, make sure attr modification type is set, r=sicking
--HG--
extra : rebase_source : ed2b2cc803cbd494b33a4e343efee9bd76f7e54a
2012-05-24 13:31:35 +03:00
Olli Pettay 811c9d1086 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 13d425d6fb Bug 673586 - Implement lastModifiedDate property for the File interface. r=mounir 2012-05-21 15:11:56 -07:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Sid Stamm 166c8bf265 Bug 612391 - Convert CSP violation reporting from XHR to nsIUploadChannel. r=jonas 2012-05-23 16:00:42 -07:00
Henri Sivonen e113f5bb05 Bug 753278 - Make document.open() after aborting the parser a no-op. r=smaug. 2012-05-18 15:06:28 +03:00
Masatoshi Kimura f809aee2a1 Bug 752402 - Support ArrayBufferView as a member of blobParts parameter. r=sicking 2012-05-17 17:53:44 -04:00
Jason Duell dc8e1646bb Bug 748580 - websockets: omit close code when none passed to close(). r=mcmanus 2012-05-17 10:56:56 -07:00
Alexandre Poirot b74038af93 Bug 682305 - nsXMLHttpRequest::Send fails with mChannel being implemented in JS. r=sicking 2012-05-10 19:58:48 +01:00
Blake Kaplan 94c4150fb9 Backed out changeset ad106d37ee43. The bug number in the changeset was wrong. 2012-05-15 12:03:01 +02:00
Alexandre Poirot ce12f7fafe 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
Ms2ger 4b86369c76 Bug 752226 - Tests. r=evilpie 2012-05-11 17:46:54 +02:00
Ed Morley 94067f98cb Backout 9b0fcaacb788 & bf3fef257e68 (bug 752226) for mochitest-other orange 2012-05-11 18:25:52 +01:00
Ms2ger 384051ecef Bug 752226 - Tests. r=evilpie
--HG--
extra : rebase_source : 7a0d155ab7d7898ca4c96b86ae6f706172c7c71f
2012-05-11 17:46:54 +02:00
Mark Capella dd4dbf0fab Bug 749367 - script type=texttemplate content parsed as JavaScript (+E4X), r=jst, f=ms2ger, mbrubeck, jdm 2012-05-09 07:24:24 -07:00
Bobby Holley 26ec731b76 Bug 750859 - remove unused (or seldom-used) PrivilegeManager functions. r=bz 2012-05-02 23:57:34 +02:00
Masatoshi Kimura 473d12ee2a Bug 745498 - Add testcases for DOM4 exception types. r=sicking 2012-04-26 09:42:26 -07:00
Serge Gautherie 5ffa364520 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 0d9ff0d427 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 7e236c76ea Bug 744663. (Av1) Improve documentation and logs, Nits. r=smaug.
(a=test-only)
2012-04-24 03:00:43 +02:00
Tom Schuster 886fac49f9 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
Tanvi Vyas 68b566d19a 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
Aryeh Gregor ad53b6dceb 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
Masatoshi Kimura 7a414c7e1e 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
Gregory Szorc 02176ef199 Merge mozilla-central into inbound 2012-04-11 18:51:10 -07:00
Olli Pettay 8b443bebd8 Bug 742482 - Add support for MutationObserver.takeRecords(), r=sicking 2012-04-11 08:24:18 +03:00
Masatoshi Kimura 51238f18b9 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
Makoto Kato 9c9e8ca686 Bug 737966 - Evaluating nsIXMLHttpRequest.responseText throws on certain parsing errors. r=sicking 2012-04-04 20:59:02 +09:00
Marco Bonardo 30c673af46 Merge last green PGO from inbound to central 2012-04-04 13:36:36 +02:00
Olli Pettay 76b8cd7f71 Bug 742183 - Handle MicroTasks correctly with showModalDialog, r=sicking 2012-04-04 09:23:45 +03:00
Olli Pettay 5ecdf9457c Bug 742190 - Leak with MozMutationObserver, r=sicking 2012-04-04 09:22:16 +03:00
Marco Bonardo 415f421dbb Merge central and inbound 2012-04-03 14:36:57 +02:00
Ms2ger 3ca758f544 Bug 737122 - Attr nodes shouldn't have children; r=sicking 2012-04-03 09:25:39 +02:00
Henri Sivonen 6f3ab1156e 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
Masatoshi Kimura 17a428d27a Bug 738912 - Part 2: Add tests. r=sicking 2012-04-03 20:08:28 -04:00
Aryeh Gregor e4b9c89381 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
Ed Morley 18b9148c4f Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-03-31 22:41:59 +01:00
Olli Pettay c7a649ab35 Bug 641821, MutationObserver, r=sicking
--HG--
extra : rebase_source : a680c883b22976edf38eea23fb516215e081084f
2012-03-31 09:30:13 -07:00
Henri Sivonen dc86834ec3 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
Peter Van der Beken af493c9840 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
Peter Van der Beken 208cff3073 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
Peter Van der Beken c24b07dfb1 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 2988a3a81e 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 29e4320467 Bug 737087 - Fire error event on <script> load failure per spec/other browsers; r=sicking 2012-03-20 14:21:33 -04:00
Ian Melven 4a35447c6a Bug 650386 - CSP should not follow redirects for report-uri r=jst 2012-03-27 10:55:50 -07:00
Jonas Sicking 0e82d01876 Bug 301705: Don't throw when XMLHttpRequest.status is gotten too early. r=bz 2012-03-26 01:40:09 -07:00
Henri Sivonen 342883de53 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
Aryeh Gregor c061caef54 Bug 366944 - Range.surroundContents should throw InvalidNodeTypeError early; r=smaug 2012-03-21 14:06:50 -04:00
Boris Zbarsky 3dd66596fa 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
Sid Stamm f65eb324a7 Bug 672961 - CSP blocks domains incorrectly when on a site with non-standard port. r=mrbkap 2012-03-21 19:52:24 -04:00
Aryeh Gregor 18007ca69a 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 660bfc0de9 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 0874f9e17c Bug 737565 - Range.comparePoint() should throw exceptions per spec; r=smaug 2012-03-20 15:54:38 -04:00
Henri Sivonen 63b25dc89b 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
Kyle Huey 49f13cc9a7 Bug 735152: Disable the offending tests. r=me 2012-03-13 07:34:39 -07:00
Marco Bonardo 720c67a69d Merge last green PGO from inbound to central 2012-03-13 11:17:21 +01:00
Masatoshi Kimura 396343dd66 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
Kyle Huey 621eeb9127 Bug 498998: Implement XHR timeout in Workers. r=sicking 2012-03-12 17:00:46 -07:00
Boris Zbarsky d18fcfcbe9 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
Aryeh Gregor 1b6aea2012 Bug 711047 Part 2 - Remove RangeException in favor of DOMException. r=sicking 2012-03-01 13:35:48 -05:00
Henri Sivonen 99375dab7e Bug 650784 part 4 - Scripted test for plain text conversion. r=smaug. 2012-02-27 13:57:48 +02:00
Henri Sivonen 6792924c2c Bug 650784 part 1.5 - Move nsScriptableUnescapeHTML from Toolkit to Core. r=smaug.
--HG--
rename : toolkit/components/feeds/nsIScriptableUnescapeHTML.idl => parser/html/nsIScriptableUnescapeHTML.idl
rename : toolkit/components/feeds/nsScriptableUnescapeHTML.cpp => parser/html/nsParserUtils.cpp
rename : toolkit/components/feeds/nsScriptableUnescapeHTML.h => parser/html/nsParserUtils.h
2012-02-27 13:57:48 +02:00
Henri Sivonen 3ec758cd7c Bug 650784 part 1 - Introduce a new API for converting HTML to plain text. r=smaug. 2012-02-27 13:57:48 +02:00
Jason Duell c9d6d245cd Bug 716841. EventSource::GetInterface goes into infinite loop if redirected. r=bz 2012-02-24 11:37:30 -08:00
Matthew Schranz e6f5aa8906 Bug 698381 - Make Node.cloneNode aDeep argument optional, default to true. r=smaug 2012-02-23 14:23:30 +01:00
Masatoshi Kimura d7e66cef1d Bug 720208 - Implement DOM4 DOMException types and codes. r=smaug,ms2ger 2012-02-23 01:34:14 +01:00
Jason Duell b75dd57a11 Bug 728514: Websockets: don't CloseConnection twice in OnServerClose. r=smaug 2012-02-21 14:57:13 -08:00
Masatoshi Kimura 8741286542 Bug 727530 - XHR for data URIs should support content-type header field; r=jonas 2012-02-19 11:58:24 +00:00
Dão Gottwald 635a192024 Bug 725289 followup, replace remaining mozSlize with slice 2012-02-16 12:43:08 +01:00
Matthew Schranz 5e505cd07f Bug 725289 - Removed moz prefix in Blob.mozSlice. r=sicking
--HG--
rename : dom/workers/test/fileReadMozSlice_worker.js => dom/workers/test/fileReadSlice_worker.js
rename : dom/workers/test/fileMozSlice_worker.js => dom/workers/test/fileSlice_worker.js
rename : dom/workers/test/test_fileReadMozSlice.xul => dom/workers/test/test_fileReadSlice.xul
rename : dom/workers/test/test_fileMozSlice.xul => dom/workers/test/test_fileSlice.xul
2012-02-16 11:22:25 +01:00
Aryeh Gregor 7cf7a1dac7 Bug 393910 - Serialize "0" as "0px" for lengths instead of "0pt"; r=dbaron 2012-02-14 10:54:08 -05:00
Mats Palmgren 09f0260b72 Bug 726364 - "ASSERTION: unexpected disconnected nodes" with range, splitText, mutation event". r=smaug 2012-02-12 22:21:49 +01:00
Jason Duell dc41bd4904 Bug 725862: Allow test_websocket.html to run multiple times to help track down random oranges. r=mcmanus 2012-02-13 11:30:01 -08:00
Phil Ringnalda b8cb208b51 Back out 1cd8c9b40035 (bug 725376), df43cc1f72e1 (bug 725535), and 8a820e4ee7f6 (bug 726364) for reftest orange 2012-02-12 14:01:58 -08:00
Mats Palmgren 3b73596ff9 Bug 726364 - "ASSERTION: unexpected disconnected nodes" with range, splitText, mutation event". r=smaug 2012-02-12 22:21:49 +01:00
Jeff Muizelaar 434b3df862 Bug 235853 - Defer proxy resolution for HTTP and HTTPS PAC to avoid blocking main thread during DNS resolution. r=biesi,sworkman 2008-11-04 16:50:00 -05:00
Masatoshi Kimura bb233a8dab Bug 722962 - Avoid a race condition; r=jonas 2012-02-04 13:11:09 +00:00
Sid Stamm 555e10e7f0 Bug 717511 - Content Security Policy Bypass. r=bsterne, jst 2012-02-02 15:42:12 -08:00
Ed Morley 0ce8f75531 Backout 0e6b1dfaa99c (bug 720208) for M1 orange 2012-02-01 12:58:07 +00:00
Masatoshi Kimura c70d70f634 Bug 720208 - Implement DOM4 DOMException types and codes. r=ms2ger,smaug 2012-02-01 11:36:42 +01:00
Philipp Wagner b3f1940949 Bug 694754 - Accessing DOM Document methods lookupPrefix, lookupNamespaceURI and isDefaultNamespace through XPCOM and quickstubs should create equal results. r=jonas 2012-01-30 15:54:54 +01:00
Masatoshi Kimura 45053c19fe Bug 696586 - Part 3: Tests; r=jonas 2012-01-30 11:34:15 +01:00
Alex Vincent 7a891b637f Implement XMLHttpRequest.timeout support. Bug 525816, r=smaug, sr=sicking.
--HG--
extra : rebase_source : f8ec0171cab2d0fbcc1975c5e455162ebbeb2690
2012-01-26 11:02:22 +01:00
Matthew Schranz 877f5228df Bug 698384 - Make document.createNodeIterator's 2nd and 3rd parameters optional. r=smaug 2012-01-25 13:47:50 +01:00
Matt Woodrow db33b0ef0e Bug 718334 - Fix some tests to make them work with Skia. r=roc 2012-01-23 14:08:17 +13:00
Matt Woodrow d188865651 Backout 0190782907ea because of failed tests 2012-01-19 19:37:02 +13:00
Matt Woodrow ae4fbc05f8 Bug 718334 - Fix some tests to make them work with Skia. r=roc 2012-01-19 17:48:35 +13:00
Bobby Holley f802ffaae4 Bug 702353 - Proof-of-concept on some pretty involved tests. r=ted 2012-01-18 19:10:14 -08:00
Henri Sivonen ce7294644a Bug 702167 - Remove an obsolete script execution test whose premise is wrong per HTML5. rs=smaug. 2012-01-13 16:27:51 +02:00
Masatoshi Kimura 16de863cf7 Bug 702820 - Allow XHR to data URL. r=sicking 2012-01-11 10:47:46 +01:00
David Zbarsky 36d49f44a6 Bug 682611 - Part 1: Merge nsIDOMRange and nsIDOMNSRange; r=Ms2ger r=smaug 2012-01-10 15:19:54 +01:00
Henri Sivonen 18384e3ee5 Bug 708620 - Whine to console when a form is submitted in an encoding that cannot represent all of Unicode. r=smaug. 2012-01-02 16:18:30 +02:00
Bobby Holley 8a890a3676 Bug 713747 - Use UniversalXPConnect and UniversalXPConnect only in test coverage. r=bz 2011-12-30 09:35:38 -08:00
Ed Morley 52dc30d629 Merge last PGO-green changeset from mozilla-inbound to mozilla-central 2011-12-21 12:11:14 +00:00
Olli Pettay 1e8af4413d Bug 711841, Null(C)String(), r=bsmedberg,glandium 2011-12-20 21:46:00 +02:00
Philipp Wagner d1beb04176 Bug 693615 - element.lookupNamespaceURI(null) in text/html page cause NS_ERROR_FAILURE error on XrayWrappers; r=bz 2011-12-20 15:54:14 +01:00
Jason Duell 5d80c49624 Bug 695635: Unprefix websockets. r=sicking, sr=smaug
--HG--
rename : content/base/public/nsIMozWebSocket.idl => content/base/public/nsIWebSocket.idl
2011-12-20 00:20:12 -08:00
Jason Duell bb4b445d75 Bug 710964. No longer dispatch incoming WebSocket messages in CLOSING state. r=smaug 2011-12-20 00:20:12 -08:00
Jason Duell a4f1a82aaf Bug 710345: Mozilla-specific changes to pywebsocket v606. r=mcmanus 2011-12-20 00:20:12 -08:00
Boris Zbarsky dee08cd634 Bug 624621 part 3. Use the pre-redirect filename as the script filename and the channel principal as the origin principal, and base our cross-origin check on the origin principal. r=mrbkap 2011-12-19 12:48:12 -05:00
Patrick McManus ea03e8ad77 bug 664284: Add HSTS support for websockets. r=mcmanus 2011-12-15 15:23:00 -08:00
Jason Duell 0fcdc0deaf Bug 676439 - Websocket Binary Message support: tests. r=mcmanus 2011-12-15 15:19:51 -08:00
Boris Zbarsky 047b6669c7 Bug 710981. Add the new name for cancelAnimationFrame. r=roc 2011-12-15 08:53:06 -05:00
Boris Zbarsky ea35d340a7 Bug 709256 part 3. Skip calling PresShell::FlushPendingNotifications altogether if there might not be anything to flush. r=roc 2011-12-14 23:42:15 -05:00
Henri Sivonen 78494d96de Bug 707142 - Replace the "moz-json" responseType with spec-compliant "json". r=smaug. 2011-12-08 15:56:14 +02:00
Masatoshi Kimura 55796b7048 Bug 701787 - Part 2: Tests. r=smaug. 2011-12-08 15:55:20 +02:00
Henri Sivonen 1a1333165e Back out bug 701787 due to orangeness conflict with tests added in bug 664179. 2011-12-07 15:11:47 +02:00
Masatoshi Kimura a9ab2bba5b Bug 701787 - Part 2: Tests. r=smaug. 2011-12-07 13:30:19 +02:00
Boris Zbarsky f8235d97f3 Bug 647518 part 2. Allow canceling requestAnimationFrame requests. r=roc 2011-12-06 23:43:18 -05:00
Boris Zbarsky cc649cf128 Bug 647518 part 1. Make requestAnimationFrame return handles for animation frame requests. r=roc 2011-12-06 23:43:18 -05:00
Wellington Fernando de Macedo c650c15043 Bug 664179 - Allow Cross-Origin URLs in EventSource (Server-Sent Events). r=sicking 2011-12-05 21:02:42 -02:00
Brandon Sterne 630f3382fc Bug 702439 - allow subframes of CSP documents to run javascript: URLs, r=bz 2011-12-05 09:42:08 -08:00
Phil Ringnalda 3d87aaa765 Back out dcf31efc8c12 and 79c9926f0f45 (bug 702439) to investigate the effects on the browser-chrome leak 2011-12-02 19:43:24 -08:00
Jonas Sicking 24b4a80799 Backed out changeset 127374ca4f92 due to test failures. 2011-12-02 19:29:35 -08:00
Wellington Fernando de Macedo 94435d0a57 Bug 664179: Support cross-origin EventSource. r=me 2011-12-02 18:32:46 -08:00
Brandon Sterne 6497f58b22 Add missing tests for Bug 702439, r=bz 2011-12-02 16:56:40 -08:00
Brandon Sterne ff1cde3069 Bug 702439 - allow subframes of CSP documents to run javascript: URLs, r=bz 2011-12-02 16:07:30 -08:00
Henri Sivonen 775543c40b Bug 705072 - Limit HTML support in XHR to responseType == "document" to avoid changing the behavior for legacy users. r=smaug. 2011-11-24 17:28:12 +02:00
Masatoshi Kimura 7465f54eca Bug 703380 - Test fix & added a new test; r=smaug
--HG--
extra : rebase_source : adddf8781b55c797ca15139cbc1e5a9c5032494a
2011-11-21 12:07:27 -06:00
Henri Sivonen b74c7dc6e2 Bug 651072 - Support HTML parsing in XMLHttpRequest. r=smaug. 2011-11-16 09:38:51 +02:00
Matt Brubeck e851f37192 Back out 75ace50df008 to try to fix failures after last central/inbound merge on a CLOSED TREE 2011-11-16 11:50:48 -08:00
Henri Sivonen 689c5fc755 Bug 651072 - Support HTML parsing in XMLHttpRequest. r=smaug. 2011-11-16 09:38:51 +02:00
Boris Zbarsky f6cc9049b5 Bug 699826. Fix nodelist access out of bounds to correctly forward to the proto. r=peterv 2011-11-08 07:59:38 -05:00
Ed Morley 7ea8e12caa Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Rail Aliiev ac65d0d88e Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Patrick McManus 637ad95bfd bug 599295 r=jduell
--HG--
extra : rebase_source : b376fd42a37c8b92389b43fac2e253a8466c3349
2011-11-02 17:43:27 -04:00
Henri Sivonen 0dba9093b0 Bug 479959 - Reimplement text/plain loading using the HTML5 parser. r=Olli.Pettay. 2011-11-01 17:27:36 +02:00
Ms2ger 6d97442563 Bug 684821 - Remove nsIDOMNSHTMLElement; r=peterv 2011-10-29 22:03:55 +02:00
Phil Ringnalda de1259ee35 Back out 3ad7f12bde01 (bug 664179) and 3ab7b95bfcb5 (bug 673296) for Linux debug M1 orange 2011-10-29 09:52:45 -07:00
Wellington Fernando de Macedo 8bac550475 Bug 664179: Allow EventSource to access cross-origin event streams using CORS. r=smaug,sicking 2011-10-28 19:52:27 -07:00
Jonas Sicking 591066d996 Bug 687400: Kill Node.isSameNode. r=smaug 2011-10-28 19:52:27 -07:00
Masatoshi Kimura 8d619423ae Bug 689008: Part 3 - Tests; r=jonas 2011-10-26 08:52:37 -04:00
Kyle Huey a91b97b16b Bug 696603: Handle null being passed to BlobBuilder.append. r=sicking 2011-10-24 09:38:41 -04:00
Wellington Fernando de Macedo cad24d383f Bug 664894. Eliminate nsWebSocketEstablishedConnection and fold code into nsWebSocket. r=jduell 2011-10-20 01:27:13 -07:00
Joel Maher 3b5c4e36d3 Bug 675245 - cleanup pluginutils and SimpleTest.executeSoon() to utilize specialpowers. r=ted 2011-10-19 05:35:05 -04:00
Boris Zbarsky d674409c05 Bug 320799. Fix client* and scroll* for comboboxes to not consider the dropdown's scrollable area. r=roc 2011-10-18 16:17:45 -04:00
Ehsan Akhgari 92064e6d3f Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Olli Pettay 617b08d5d1 Bug 693875, DOMParser + svg, r=jst 2011-10-13 13:50:05 +03:00
Boris Zbarsky 8614a6bea8 Bug 690056. Implement a vendor-prefixed version of the visibility API. r=sicking
The idea is to fire the visibilitychange event synchronously during pageshow and pagehide, since we're
already running script there for the pageshow/pagehide events.  For docshell active state changes, we
fire the event asynchronously.  In all cases, the actual state changes just before the event fires.
2011-10-11 17:29:12 -04:00
Olli Pettay 917517e266 Bug 680413 - Allow using child process message manager in chrome process, r=benjamin 2011-10-11 13:28:46 +03:00
Olli Pettay ee5000bf9d Bug 681387: backout bug 654352 (caretPositionFromPoint), r=ehsan 2011-10-08 13:49:51 +03:00
Henri Sivonen 4372b20798 Bug 692434 - Use = instead of == for assignment in XHR charset handling code. r=Olli.Pettay. 2011-10-07 14:33:42 +03:00
Ms2ger 3225e81aff Bug 687318 - Allow createProcessingInstruction in HTML; r=smaug 2011-10-01 18:14:40 +02:00
Ms2ger a2a1344384 Bug 687426 - Remove Document.xmlEncoding; r=sicking 2011-10-01 18:14:40 +02:00
Matheus Kerschbaum 46cd4d655a Bug 683482 - Remove replaceWholeText() r=sicking 2011-10-01 18:12:30 +02:00
Kyle Huey bb038e3359 Bug 687332: Fix up update tests. 2011-09-29 12:06:36 -04:00
Masatoshi Kimura 58b364fbd7 automated test for bug 669049, r=sicking 2011-09-27 10:40:36 +02:00
Boris Zbarsky 29daf0fda9 Bug 185236 part 5. Fire load and error events on stylesheet linking elements. r=peterv 2011-09-26 17:27:13 -04:00
Jonas Sicking 8fae097f9c Bug 687087 part 3. Implement XHR.responseType="moz-chunked-text" and XHR.responseType="moz-chunked-arraybuffer". r=smaug on code changes, rs=smaug on tests. 2011-09-23 18:57:36 -07:00
Jesse Ruderman e5ee3c8933 Test for bug 682463. 2011-09-24 02:56:38 +02:00
Ehsan Akhgari 32f203bf83 Bug 686032 - Test for bug 622088 conceals its location after it's done; r=ted,jlebar 2011-09-23 16:30:07 -04:00
Boris Zbarsky f10439f0b5 Bug 684671. Allow the onreadystatechange getter/setter on Document.prototype to not throw even if its |this| is bogus. r=peterv,sicking 2011-09-23 01:03:50 -04:00
Boris Zbarsky 5bd5d4d6c7 Bug 660233 part 1. Fix tests that assume UniversalXPConnect in otherwise-untrusted pages will get one nodePrincipal, documentURIObject, baseURIObject properties. r=mrbkap
--HG--
rename : dom/tests/mochitest/bugs/test_bug396843.html => dom/tests/browser/browser_bug396843.js
2011-09-23 01:03:50 -04:00
Patrick McManus 959b94216e bug 686312 - websockets should not reject non character utf-8 sequence as invalid r=dbaron 2011-09-20 18:13:43 -04:00
Patrick McManus 132a8b4129 687295 - disable websockets deprecated deflate-stream extension due to thin vnc interop problem r=bz 2011-09-20 17:04:57 -04:00
Ehsan Akhgari 1776a4daac Merge the last green changeset of mozilla-inbound to mozilla-central 2011-09-20 10:22:17 -04:00
Olli Pettay 37514e6e95 Bug 686449 - Make ProcessingInstruction inherit from CharacterData, r=sicking 2011-09-20 08:08:00 +03:00
Olli Pettay 3e3400ebbc Bug 675166 - Make DocumentTypeNode to use NodeInfoManager of the document, r=sicking
--HG--
extra : rebase_source : c05867591dc394695c35de92a0c62ca5df9db1d6
2011-09-17 06:32:32 -07:00
Olli Pettay 085a4c6ba3 Bug 685798 - Node.parentElement, r=bz 2011-09-11 16:05:19 -07:00
Olli Pettay 6ed0955d33 Bug 685798 - Node.parentElement, r=bz 2011-09-11 15:45:39 -07:00
Boris Zbarsky 77a0ff867b Bug 682554. Move onreadystatechange to live on Document only. r=smaug 2011-09-19 22:56:45 -04:00
arno renevier e3f01cd889 bug 682592: do bidi scan when nsTextFragment content is changed 2011-09-09 12:27:00 -04:00
Shawn Gong c67fc718dc Bug 655727. Implemented responseType='moz-json', r=sicking 2011-09-08 15:12:18 -07:00
Shawn Gong 9bdf4f101e Fixed bug 678432: Sending arraybuffers using XMLHttpRequest.send. r=sicking 2011-08-17 18:44:56 -07:00
Malini Das be9aa36b26 Bug 677626 - Add a profiling test suite for mochitest. r=jmaher 2011-09-19 14:52:04 -04:00
Olli Pettay bd01f442a8 Bug 685139 - node.contains(node) should return true, r=bz
--HG--
extra : rebase_source : 28fb40bf63e90ea319c517f0c86104080f20cc1a
2011-09-07 18:04:04 +03:00
Marco Bonardo 913f8215a0 Merge last green changeset from mozilla-inbound to mozilla-central 2011-09-03 11:49:40 +02:00
Olli Pettay 99bab1afcd Bug 683852 - Implement Node.contains(node), r=bz
--HG--
extra : rebase_source : 192368ed31e612ad078a3d71a7ea2913e8a95532
2011-09-02 23:15:53 +03:00
Jason Duell ee2b4f86b6 Bug 678595: Remove test assumption that cancel causes cache invalidation. r=jdm 2011-09-02 13:03:24 -07:00
Kyle Huey 3ddd814eea Bug 680816: Test 2011-08-24 12:33:31 -04:00
Olli Pettay 39375cac8a Bug 681206 removeDelayedFrameScript, r=jst 2011-08-24 13:16:29 +03:00
Brad Lassey 642a86f53c bug 654352 - follow up to make test for document.caretPositionFromPoint API more reliable r=me
--HG--
extra : rebase_source : f9c86be2647c942ad807cc9d31a10650ce68b58f
2011-08-18 19:05:49 -04:00
Brad Lassey 0ff9802473 bug 654352 - document.caretPositionFromPoint API r=roc,smaug 2011-08-18 16:54:34 -04:00
Neil Deakin a4e61699e9 Bug 673301, crash using non-string data with text/plain drags, r=josh 2011-08-18 09:22:52 -04:00
Malini Das 132054c82e Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- new tests. r=jmaher, a=test-only 2011-08-12 12:21:44 -04:00
Malini Das ee09d54d6f Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain 1/1. r=jmaher, a=test-only 2011-08-12 12:21:42 -04:00
Malini Das ea71db787e Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- chrome. r=jmaher, a=test-only 2011-08-12 12:21:36 -04:00
Mats Palmgren 8172925bbc Bug 677105 - <noscript> content cannot be copied to clipboard. r=bzbarsky 2011-08-09 17:14:37 +02:00
Boris Zbarsky d941fafb57 Bug 675121. Unregister animation frame callbacks from the refresh driver while we have event handling suppressed. r=smaug,roc 2011-08-07 22:24:28 -04:00
Patrick McManus 2f338d19b9 bug 674905 - implement ws extensions attribute r=biesi r=sicking sr=bz 2011-08-03 23:46:13 -04:00
Patrick McManus 4a430a805c bug 676277 - websockets onmessage event.origin should be ws://* r=sicking 2011-08-03 20:32:23 -04:00
Patrick McManus fca47cdeb4 bug 675038 - websockets wss:// tests r=biesi
--HG--
extra : rebase_source : 0d1c6c22d20124d7456eea91a2263eec9100517a
2011-08-03 15:38:56 -04:00
Patrick McManus 19ad699c32 bug 674716 - websockets API close reason codes and messages r=sicking r=biesi sr=bz
--HG--
extra : rebase_source : f7a0eb6b310f29f8e697c26ff5e0ef9d2fde559a
2011-08-03 15:15:25 -04:00
Patrick McManus bee8ccf02b bug 662612 - speed up test_websocket.html execution r=bz
--HG--
extra : rebase_source : 44bfc07b2ef3d4de4ae9faeb3e09bd0b60d22c66
2011-08-03 15:15:25 -04:00
Patrick McManus 6512f1ba68 Bug 676025 - Websockets - failure to connect should generate onerror r=sicking 2011-08-03 12:42:04 -04:00
Patrick McManus a83ee88943 bug 674527 - websockets sub-protocol array implementation and tests r=sicking sr=bz 2011-08-03 12:42:02 -04:00
Justin Lebar d4e32e4c4e Bug 673467 - Part 2. Fix tests. r=smaug
--HG--
extra : rebase_source : 2b4d7c00e42f4fa54121fc4a9e0360984709357e
2011-08-01 19:45:47 -04:00
Dão Gottwald 2e2aeb86fd Backed out changeset 2878f506066a 2011-07-31 21:39:32 +02:00
Justin Lebar 4419b304b5 Bug 673467 - Part 2. Fix test. r=smaug 2011-07-31 13:22:14 -04:00
Joel Maher 57a986e1bb Bug 674319 - move test_bug391728.html to mochitest-chrome. r=mossop, a=test-only
--HG--
rename : content/base/test/file_bug391728.html => content/base/test/chrome/file_bug391728.html
rename : content/base/test/file_bug391728_2.html => content/base/test/chrome/file_bug391728_2.html
rename : content/base/test/test_bug391728.html => content/base/test/chrome/test_bug391728.html
2011-07-28 12:04:00 -04:00
Patrick McManus 3e031dd8e2 backport 659324 664692 - prefix websocket as mozwebsocket, based on nossralf. r=sicking 2011-07-26 09:30:14 -04:00
Josh Matthews 7d2b53dcf4 Bug 674048 - Check the correct condition when setting a header on an XHR. r=sicking 2011-07-25 18:08:44 -04:00
Jonas Sicking 41aa9e9689 Bug 669437: Implement BlobBuilder.getFile. r=khuey 2011-07-11 19:42:02 -07:00
Jonas Sicking 904c1e5607 Bug 669433 Part 3: Make first argument to Blob.slice optional and defaulting to 0. r=khuey 2011-07-11 19:41:55 -07:00
Boris Zbarsky 98438db3d3 Bug 664916. Make sure that we're dealing with an element when getting tagName. r=sicking 2011-07-07 14:17:13 -04:00
Kyle Huey 34b5ded286 Bug 668361: File ctor should fail if passed a directory. r=sicking 2011-07-06 09:35:12 -07:00
Olli Pettay cbd9514f5a Additional test for Bug 666604, r=volkmar
--HG--
extra : rebase_source : 3ff98e5bb1ab594db111e81501abb5cf2b43d60d
2011-07-06 16:02:26 +03:00
Jason Duell 2687f9cc18 bug 664860: Rename websockets mochi test. r=biesi
--HG--
rename : content/base/test/file_ws_basic_tests_wsh.py => content/base/test/file_websocket_basic_wsh.py
rename : content/base/test/test_ws_basic_tests.html => content/base/test/test_websocket_basic.html
2011-07-04 21:18:30 -07:00
Josh Matthews 2694e83b1c Bug 537787 - Update websocket test to use SpecialPowers. r=ctalbert try: -b do -p all -u mochitests -t none 2011-05-24 02:43:05 +03:00
Marco Bonardo 434e057510 Merge mozilla-inbound and mozilla-central 2011-07-02 10:39:08 +02:00
Kyle Huey d9c62ff95b Bug 661582: XHR.response should return a Blob, not a File. r=sicking 2011-06-30 14:42:15 -07:00
Matt Brubeck e2840da521 Back out 9fc0e6867256, 6947bbce9672, fb91a23bd158, a5870dd2ad7c, c3d3292fbd1e, 42f2aca1fde9 to fix Android failures on a CLOSED TREE 2011-07-01 11:20:52 -07:00
Marco Bonardo e1de548d00 Merge last green changeset from mozilla-central to mozilla-inbound 2011-07-01 23:56:44 +02:00
Shawn Gong 71e98c36a4 Fixed bug 632255: implemented FileReader.readAsArrayBuffer() API. r=sicking 2011-06-30 17:50:44 -07:00
Jonas Sicking 4e6a9c5461 Bug 649150: Make sure that all blobs and files sent using FormData have a filename in the encoded submission. r=mounir 2011-06-29 11:03:36 -07:00
Kyle Huey 865ec818f7 Merge b-s to m-c 2011-06-30 18:10:40 -07:00
Kyle Huey 941e3135b3 Bug 661582: XHR.response should return a Blob, not a File. r=sicking 2011-06-30 14:42:15 -07:00
Olli Pettay e5f1a50b21 Bug 666604 - Allow untrusted events to trigger a link, r=bz
--HG--
extra : rebase_source : e0b8510a039425c17a3d412241aa8f24df05558a
2011-06-30 14:52:11 +03:00
Josh Matthews ed7ddba835 Bug 553888 - Duplicate XHR request headers when following redirect. r=sicking 2010-03-22 14:52:35 +13:00
Joel Maher c33c4bcd3f Bug 664158 - move content/base/test/chrome/test_bug574596.html to mochitest-chrome. r=mats, a=test-only
--HG--
rename : content/base/test/test_bug574596.html => content/base/test/chrome/test_bug574596.html
2011-06-19 11:57:09 -04:00
Patrick McManus 689a860ca6 bug 661036 - websockets allowed prohibited space character in protocol header, with test update r=biesi r=bsmith 2011-06-16 14:27:11 -04:00
Jonas Sicking 48f55a5733 Bug 659053 Part 1: Merge nsIDOM3Node into nsIDOMNode. Also removes Node.getFeature. r=peterv 2011-06-14 00:56:48 -07:00
Ted Mielczarek b9712b1eab merge m-c and b-s 2011-06-13 09:09:43 -04:00
Ted Mielczarek 655b21063e merge m-c to b-s 2011-06-10 12:58:21 -04:00
Wellington Fernando de Macedo a746d0485b Bug 659559 - Speed up test_bug338583.html. r=smaug 2011-06-11 19:09:41 +02:00
Kyle Huey f363a1dc43 Merge m-c to b-s. 2011-05-31 15:29:32 -07:00
Mounir Lamouri ac62a8d689 Bug 651902 - Make content/base/test/test_bug592366.html non flaky. r=hsivonen 2011-05-30 17:49:56 +02:00
Mitchell Field c1eec06aa3 Merge mozilla-central to build-system. 2011-05-29 14:10:30 +10:00
Kyle Huey c582ba8b08 Bug 656647: File constructor should take nsIFiles. r=sicking 2011-05-14 16:41:20 -07:00
Joel Maher 847aba8513 Bug 659315 - move content/base/test/*.xul to mochitest-chrome. r=jonas, a=test-only
--HG--
rename : content/base/test/test_bug339494.xul => content/base/test/chrome/test_bug339494.xul
rename : content/base/test/test_bug357450.xul => content/base/test/chrome/test_bug357450.xul
rename : content/base/test/test_bug571390.xul => content/base/test/chrome/test_bug571390.xul
2011-06-09 11:10:14 -04:00
Dão Gottwald e0abfe934e Bug 658738 - remove event listeners in browser chrome tests 2011-06-07 16:45:26 +02:00
Kyle Huey 0bfabf934f Bug 661876: Fix tests to avoid using obsolete nsIDOMFile properties/methods. 2011-06-05 11:54:14 -07:00
Henri Sivonen dbad8bb32b Bug 655701 - Remove test dependencies on the html5.parser.enable pref. r=ted.mielczarek. 2011-05-12 10:56:37 +03:00
Olli Pettay b1469c318f Bug 656218, document.activeElement should not throw, r=bz 2011-05-11 23:52:32 +03:00
Masatoshi Kimura 0d206b9f66 Bug 656253: Fix intermittent orange due to variables colliding. r=sicking 2011-05-11 11:06:47 -07:00
Mats Palmgren c094a0c158 Bug 638112 - Assertion failure: chars[length] == jschar(0). r=dbaron 2011-05-11 11:46:59 +02:00
Masatoshi Kimura 0c4752993d Bug 649133: Implement xhr.mozResponse and xhr.mozResponseType. r=sicking 2011-05-10 16:18:55 -07:00
Jonas Sicking 8c6f80554d Bug 650493 Part 2: Simplify userdata by firing adoption handlers off of scriptrunners. r=smaug/peterv 2011-05-09 12:33:03 -07:00
Jonas Sicking 6835982ecc Bug 650493 Part 1: Simplify mutation events by firing all but DOMNodeRemoved off of script runners, and DOMNodeRemoved before starting any update batches or aquiring any state. r=smaug/peterv 2011-05-09 12:33:03 -07:00
Chris Pearce 0c662cc62d Bug 650994 - Decode ogg packets lazily, timestamp them at demux time. r=doublec 2011-05-08 18:24:09 +12:00
Shawn Gong a19b1cf42c Bug 658683: Make xhr.response not create a new ArrayBuffer every time it is accessed. r=sicking. Additional fixes by sicking, r=peterv 2011-05-23 18:09:28 -07:00
Mounir Lamouri 3fc47ac0ee Back out bug 632255 and bug 658683 due to oranges on Windows Mochitest-1. 2011-05-24 15:45:53 +02:00
Shawn Gong d420b16152 Bug 632255 - Implemented readAsArrayBuffer() for FileReader. r=sicking,bent. Additional fixes by sicking, r=peterv. a=sheriff. 2011-05-23 18:02:56 -07:00
Shawn Gong 31f9abd2fd Bug 658683: Make xhr.response not create a new ArrayBuffer every time it is accessed. r=sicking. Additional fixes by sicking, r=peterv 2011-05-23 18:09:28 -07:00
Jonas Sicking 591044f939 back out probably cause of orange. a=backout 2011-05-23 20:21:10 -07:00
Shawn Gong 4cab7cce39 Bug 632255 - Implemented readAsArrayBuffer() for FileReader. r=sicking,bent a=LandingQueue 2011-05-23 18:02:56 -07:00
Shawn Gong bad3d69b34 Bug 658683: Make xhr.response not create a new ArrayBuffer every time it is accessed. r=sicking 2011-05-23 18:09:28 -07:00
Kyle Huey 3d12cc00e3 Bug 553125: Use the structured clone algorithm for window.postMessage. r=bent 2011-05-23 11:53:31 -07:00
Kyle Huey a67c9aebe9 Bug 657964: FileReader should throw when abort() is called and readystate is not LOADING. r=sicking 2011-05-23 13:04:45 -07:00
wfernandom2004@gmail.com f9a7c9e4cf Bug 338583, implement EventSource, r=smaug,Ms2ger
--HG--
extra : rebase_source : 9dd6bbbc0d714fbafb2ed115c40cf7210b663b6a
2011-05-22 22:30:07 +01:00
Patrick McManus 5fd56cb6b8 bug 640003 - websockets, fixup tests for new server r=smaug r=biesi 2011-05-21 21:27:52 -04:00
Daniel Holbert 6882ac18be Merging cedar with mozilla-central. 2011-05-21 16:18:49 -07:00
Jonas Sicking 61c5147406 Add a test for bug 644069. r=bzbarsky 2011-05-20 16:21:27 -04:00
Kyle Huey 27d8e6cbb0 Bug 648997: Implement BlobBuilder spec as MozBlobBuilder. r=sicking.
Note that there is one key difference between this implementation and the spec.  In this patch MozBlobBuilder.getBlob("content/type"); returns a Blob and clears the MozBlobBuilder.  In the spec the BlobBuilder is not cleared.  Thus,

let bb = new MozBlobBuilder();
MozBlobBuilder.append("foo");
let blob1 = MozBlobBuilder.getBlob("content/type");
// blob1 contains "foo"
MozBlobBuilder.append("bar");
let blob2 = MozBlobBuilder.getBlob("content/type");
// blob2 contains "bar", the spec says it should contain "foobar".

IMO, the spec behavior optimizes for the wrong case.  BlobBuilder will probably be used mostly as a one-shot API.  Additionally, the spec requires the BlobBuilder to hang on to potentially large amounts of memory between the getBlob() call and when the BlobBuilder is GCd.

These issues have been raised on the listserv.
2011-05-20 10:18:45 -07:00
Jonas Sicking 420d439d47 Back out another suspect just in case. CLOSED TREE. a=orange 2011-05-20 17:20:37 -07:00
Kyle Huey 18e6d04d41 Backed out changeset b8404a1d3153 2011-05-20 17:00:13 -07:00
Kyle Huey c8f3d0d068 Bug 648997: Implement BlobBuilder spec as mozBlobBuilder. r=sicking.
Note that there is one key difference between this implementation and the spec.  In this patch mozBlobBuilder.getBlob("content/type"); returns a Blob and clears the mozBlobBuilder.  In the spec the BlobBuilder is not cleared.  Thus,

let bb = new mozBlobBuilder();
mozBlobBuilder.append("foo");
let blob1 = mozBlobBuilder.getBlob("content/type");
// blob1 contains "foo"
mozBlobBuilder.append("bar");
let blob2 = mozBlobBuilder.getBlob("content/type");
// blob2 contains "bar", the spec says it should contain "foobar".

IMO, the spec behavior optimizes for the wrong case.  BlobBuilder will probably be used mostly as a one-shot API.  Additionally, the spec requires the BlobBuilder to hang on to potentially large amounts of memory between the getBlob() call and when the BlobBuilder is GCd.

These issues have been raised on the listserv.
2011-05-20 10:18:45 -07:00
Shawn Gong ba36dac2c6 Bug 632255 - Implemented readAsArrayBuffer() for FileReader. r=bent,sicking 2011-05-20 10:17:28 -07:00
Joel Maher 193c66083d Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
Masatoshi Kimura b2ace2c16d Bug 649133 followup. Remove the 'moz' prefix on response/responseType, since Chrome has already shipped these unprefixed. r=sicking 2011-05-19 01:11:51 -04:00
Ms2ger 9a171610f7 Bug 529328 - Return undefined for out-of-bounds access through nsStringArraySH; r=smaug
This patch has no effect on CSSStyleDeclaration, as that never returns a void DOMString.
2011-05-30 13:35:52 +02:00
Ms2ger 2b2b9a9fe4 Bug 611983 - Kill Document.createEntityReference; r=peterv 2011-05-29 10:33:35 +02:00
Jonas Sicking e2fee3941f Bug 588990: Remove lazy hashing of names to avoid walking full DOM. r=bz 2011-04-23 00:29:12 -07:00
Bjarne 5dbeea895a Bug 648485 - Third attempt to fix intermittent failure in content/base/test/test_bug482935.html. r=ehsan 2011-04-20 21:42:09 +02:00
Ehsan Akhgari 47322a8c6b Bug 650543 - Rewrite the test for bug 419132 to make it sane, and re-enable it; r=sicking 2011-04-16 19:39:42 -04:00
Ehsan Akhgari 2db60beb6f Bug 492181 - test_plugin_freezing.html causes focus problems for the following test; r=roc 2011-04-16 19:39:43 -04:00
Ehsan Akhgari 2759ff18ea Bug 649012 - Fix some flaky mochitests which rely on non-zero timeout values; rs=ted 2011-04-16 19:39:34 -04:00
Ehsan Akhgari 135eb99ddb Backed out changeset d407ee4dabcc because it causes some tests to go orange 2011-04-16 23:47:06 -04:00
Ehsan Akhgari d6e8bc6ecd Bug 649012 - Fix some flaky mochitests which rely on non-zero timeout values; rs=ted 2011-04-16 19:39:34 -04:00
Kyle Huey b8748273e7 Bug 607114: Expose a File constructor to chrome script. r=sicking
--HG--
rename : content/canvas/test/image_yellow.png => content/base/test/chrome/fileconstructor_file.png
2011-04-13 19:41:34 -07:00
Jonas Sicking 3815106388 Bug 649672: Make File.slice arguments match Array.slice and prefix File.slice. r=khuey 2011-04-13 14:34:36 -07:00
Jonathan Kew 8eac8e46a8 merge backout of bug 585152 2011-04-13 14:35:39 +01:00
Jonathan Kew cd179a175b Backed out changeset 80451fb8f11c (bug 585152) as per discussion in the bug. 2011-04-13 14:35:06 +01:00
Mounir Lamouri 2ed08c1c21 Bug 648485 - Second try to fix intermittent failure in content/base/test/test_bug482935.html. r=ehsan 2011-04-12 15:50:25 -07:00
Paul Biggar 1beff55e64 Bug 585152 - Reland Date.now() fractional changes, along with fixed tests. (r=jwalden,dolske,gavin, rs=jwalden)
For the tests, I put a Math.floor around anything which looked like it did string concatenation. In principal that was r+ by dolske and gavin, and jwalden r+ed the extension to the rest of the tests.

Backout policy: the jsdate.cpp changes can be backed out trivially. The test changes should backout cleanly, but we're not hosed if they don't.
2010-08-06 13:35:00 -07:00
L. David Baron d40bf9a237 Backout changeset b583111a88aa (bug 585152) for causing mochitest-browser-chrome orange on opt builds. 2011-04-12 01:29:41 -07:00
Paul Biggar 80fee229de Bug 585152 - Reland Date.now() fractional changes, along with fixed tests. (r=jwalden,dolske,gavin, rs=jwalden)
For the tests, I put a Math.floor around anything which looked like it did string concatenation. In principal that was r+ by dolske and gavin, and jwalden r+ed the extension to the rest of the tests.

Backout policy: the jsdate.cpp changes can be backed out trivially. The test changes should backout cleanly, but we're not hosed if they don't.
2010-08-06 13:35:00 -07:00
Jonas Sicking 0c963366b4 Bug 645281: Don't assert if a CORS preflight response contains data. r=bz 2011-04-11 18:28:28 -07:00
Mounir Lamouri a22a2fdfeb Bug 648485 - Trying to fix an intermittent failure in content/base/test/test_bug482935.html. r=ehsan 2011-04-11 16:55:16 -07:00
Christian Biesinger ec60082859 bug 643051 - document.cookie should only allow setting one cookie at a time
r=bz
2011-04-11 16:26:11 -07:00
Ms2ger 0153337929 Bug 604592 - Make Node.prefix readonly; r=smaug 2011-04-11 13:06:18 +02:00
Brandon Sterne a167c6f7a7 Tests for Bug 631040 - parse CSP default-src as equivalent to allow, r=jst,geekboy 2011-04-10 11:23:23 -07:00
Frédéric Wang 35f627c67b Update XML Entity Definitions for Characters - rang/lang (bug 603716); r=hsivonen,karlt 2011-04-08 11:56:43 -07:00
Peter Van der Beken c46b123651 Fix for bug 626262 (Don't allow parent's ownerDocument to change during appendChild). r=bz.
--HG--
extra : rebase_source : a591ab1b85579ced5fc750253cf2204c5ca021f8
2011-02-07 15:36:16 +01:00